Skip to content

Commit 5b6013d

Browse files
authored
Remove migration guide (#994)
1 parent 6da4a97 commit 5b6013d

File tree

5 files changed

+7
-191
lines changed

5 files changed

+7
-191
lines changed

dash_bootstrap_components/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ def __getattr__(name):
5151
f"{name} was deprecated in dash-bootstrap-components version "
5252
f"1.0.0. You are using {__version__}. For more details please "
5353
"see the migration guide: "
54-
"https://dash-bootstrap-components.opensource.faculty.ai/"
55-
"migration-guide/"
54+
"https://github.com/facultyai/dash-bootstrap-components/blob/"
55+
"6da4a97f940483deb3dc9c815ef4c7e450ff0be7/docs/content/"
56+
"migration-guide.md"
5657
)
5758
raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
5859

docs/content/changelog.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ This release adds no new features but fixes a number of bugs. Please continue to
171171

172172
## 1.0.0 - 2021/10/19
173173

174-
v1 of _dash-bootstrap-components_! This release contains loads of new features, but also breaking changes. Please read the changelog carefully, and refer to the [migration guide](/migration-guide/) for full details of the changes.
174+
v1 of _dash-bootstrap-components_! This release contains loads of new features, but also breaking changes. Please read the changelog carefully, and refer to the [migration guide][migration-guide] for full details of the changes.
175175

176176
### Added
177177

@@ -187,7 +187,7 @@ v1 of _dash-bootstrap-components_! This release contains loads of new features,
187187

188188
### Changed
189189

190-
- Components are all now built for Bootstrap 5. CDN links have all been updated. There are multiple breaking changes in the component props. Please see the [migration-guide](/migration-guide) for full details on the changes ([PR 646](https://github.com/facultyai/dash-bootstrap-components/pull/646)).
190+
- Components are all now built for Bootstrap 5. CDN links have all been updated. There are multiple breaking changes in the component props. Please see the [migration-guide][migration-guide] for full details on the changes ([PR 646](https://github.com/facultyai/dash-bootstrap-components/pull/646)).
191191

192192
## 0.13.1 - 2021/9/22
193193

@@ -509,3 +509,5 @@ This version marks the first release of dash-bootstrap-components for Julia. The
509509
## Older versions
510510

511511
Older versions continue to exist on [PyPI](https://pypi.org/project/dash-bootstrap-components), but we strongly recommend using more recent versions. If you need to know what changed in old versions of dash-bootstrap-components you can check the [releases page](https://github.com/facultyai/dash-bootstrap-components/releases) on GitHub.
512+
513+
[migration-guide]: https://github.com/facultyai/dash-bootstrap-components/blob/6da4a97f940483deb3dc9c815ef4c7e450ff0be7/docs/content/migration-guide.md

docs/content/migration-guide.md

Lines changed: 0 additions & 177 deletions
This file was deleted.

docs/server.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,4 @@ def changelog():
111111
except TemplateNotFound:
112112
abort(404)
113113

114-
@server.route("/migration-guide/")
115-
def migration_guide():
116-
try:
117-
return render_template("generated/migration-guide.html")
118-
except TemplateNotFound:
119-
abort(404)
120-
121114
return server

docs/templates/macros/navbar.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,6 @@
4747
More
4848
</a>
4949
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
50-
<a class="dropdown-item" href="/migration-guide"
51-
>Migration guide for v1</a
52-
>
5350
<a class="dropdown-item" href="/changelog">Changelog</a>
5451
<a
5552
class="dropdown-item"

0 commit comments

Comments
 (0)