-
Notifications
You must be signed in to change notification settings - Fork 82
IBX-9609: Upgrade mkdocs #2627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
IBX-9609: Upgrade mkdocs #2627
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
Preview of modified Markdown: no Markdown change to preview. |
ERROR: Cannot install Markdown==3.2.1 and mkdocs==1.6.1 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested Markdown==3.2.1
mkdocs 1.6.1 depends on markdown>=3.3.6
7 tasks
* requirements.txt: Upgrade Markdown to latest * requirements.txt: Upgrade Pygments to latest * requirements.txt: Upgrade PyMdown Extensions to latest * requirements.txt: Upgrade Material for MkDocs to latest * requirements.txt: Upgrade Mkdocs-Macros to latest * requirements.txt: Upgrade mkdocs-redirects to latest * requirements.txt: Upgrade MkDocs Autolinks Plugin to latest * navigation.css: Fix right ToC (probably due to Material for MkDocs upgrade) * navigation.css: Fix left ToC (probably due to Material for MkDocs upgrade)
|
Test script for branch in 'master' '4.6' '3.3'; do
git checkout $branch
git checkout HEAD -- requirements.txt
pip install -r requirements.txt
mkdocs build --clean --site-dir "./html.$branch" --config-file mkdocs.yml --strict
git checkout IBX-9609-upgrade-requirements -- requirements.txt
pip install -r requirements.txt
mkdocs build --clean --site-dir "./html.$branch.upgraded" --config-file mkdocs.yml --strict
diff -rbBw --exclude=assets ./html.$branch ./html.$branch.upgraded > diff.$branch.txt
cat diff.$branch.txt \
| grep -v 'meta name="generator"' \
| grep -v '<meta name="robots" content="noindex">' \
| grep -v -i 'redirect' \
| grep -v '<changefreq>daily</changefreq>' \
| grep -v '\.min\.css' \
| grep -v '\.min\.js' \
| grep -v 'id="__config"' \
| grep -v '__md_scope' \
| grep -v 'generateStopWordFilter' \
| grep -v '__md_get("__tabs")' \
| grep -v '__tabbed_' \
| grep -v 'path d="M' \
| grep -v 'nav class="md-header__inner' \
| grep -v 'md-nav--secondary' \
| grep -v 'data-md-component="top"' \
| grep -v 'class="source-github"' \
| grep -v 'align="left"' | grep -v 'style="text-align: left;"' \
| grep -v 'align="center"' | grep -v 'style="text-align: center;"' \
| grep -v '^> *$' \
> diff.$branch.filtered.txt
done
|
5 tasks
adriendupuis
commented
Mar 6, 2025
# Conflicts: # requirements.txt
This reverts commit 374ff93.
7db513a to
ed04788
Compare
7 tasks
ed04788 to
f020b83
Compare
adriendupuis
added a commit
that referenced
this pull request
Mar 9, 2025
* requirements.txt: Upgrade mkdocs to latest * requirements.txt: Upgrade Markdown to latest * requirements.txt: Upgrade Pygments to latest * requirements.txt: Upgrade PyMdown Extensions to latest * requirements.txt: Upgrade Material for MkDocs to latest * requirements.txt: Upgrade Mkdocs-Macros to latest * requirements.txt: Upgrade mkdocs-redirects to latest * requirements.txt: Upgrade MkDocs Autolinks Plugin to latest * navigation.css: Fix right ToC (probably due to Material for MkDocs upgrade) * navigation.css: Fix left ToC (probably due to Material for MkDocs upgrade) * .readthedocs.yml: Upgrade python & pip (#2653) * mkdocs: `absolute_links: relative_to_docs` (cherry picked from commit 97cf2cc)
adriendupuis
added a commit
that referenced
this pull request
Mar 9, 2025
* requirements.txt: Upgrade mkdocs to latest * requirements.txt: Upgrade Markdown to latest * requirements.txt: Upgrade Pygments to latest * requirements.txt: Upgrade PyMdown Extensions to latest * requirements.txt: Upgrade Material for MkDocs to latest * requirements.txt: Upgrade Mkdocs-Macros to latest * requirements.txt: Upgrade mkdocs-redirects to latest * requirements.txt: Upgrade MkDocs Autolinks Plugin to latest * navigation.css: Fix right ToC (probably due to Material for MkDocs upgrade) * navigation.css: Fix left ToC (probably due to Material for MkDocs upgrade) * .readthedocs.yml: Upgrade python & pip (#2653) * mkdocs: `absolute_links: relative_to_docs` (cherry picked from commit 97cf2cc)
adriendupuis
added a commit
that referenced
this pull request
Mar 9, 2025
* requirements.txt: Upgrade mkdocs to latest * requirements.txt: Upgrade Markdown to latest * requirements.txt: Upgrade Pygments to latest * requirements.txt: Upgrade PyMdown Extensions to latest * requirements.txt: Upgrade Material for MkDocs to latest * requirements.txt: Upgrade Mkdocs-Macros to latest * requirements.txt: Upgrade mkdocs-redirects to latest * requirements.txt: Upgrade MkDocs Autolinks Plugin to latest * navigation.css: Fix right ToC (probably due to Material for MkDocs upgrade) * navigation.css: Fix left ToC (probably due to Material for MkDocs upgrade) * .readthedocs.yml: Upgrade python & pip (#2653) * mkdocs: `absolute_links: relative_to_docs` (cherry picked from commit 97cf2cc)
This was referenced Mar 10, 2025
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Upgrade
mkdocs, python&pip, and all requirements.txt entries to their latest version.INFOduring build or at server start up.INFO - Doc file 'templating/layout/add_navigation_menu.md' contains a link '../twig_function_reference/url_twig_functions.md#ibexa.url.alias', but the doc 'templating/twig_function_reference/url_twig_functions.md' does not contain an anchor '#ibexa.url.alias'.fixed in Fix links #2625docs/dirAlso applied in ibexa/documentation-user#334
MkDocs Validation Feature
We previously used the default validation settings and I suggest we continue with defaults.
The strict mode is used when building the online doc which means that
warnanderrorlevels are blocking the deployment.Checklist