You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... the problem doesn't occur with the mkdocs or readthedocs themes
... the problem persists when all overrides are removed, i.e. custom_dir, extra_javascript and extra_css
... the documentation does not mention anything about my problem
... there are no open or closed issues that are related to my problem
Description
with latest update mkdocs, mkdocs-material and mike, versioning is not working using them material,
when running mkdocs serve , i got warning like
WARNING - [23:50:07] "GET /versions.json HTTP/1.1" code 404
and the version link in header is not displayed, however when running mike server, it is displayed correctly
mkdocs-1.2.3
mkdocs-material-7.3.5
mike-1.1.2
Expected behaviour
to have version selector link
Actual behaviour
none and got warning when runing mkdocs
WARNING - [23:50:07] "GET /versions.json HTTP/1.1" code 404
Steps to reproduce
1- install mkdocs
2- install mkdocs-material
3- install mike
4- configure mkdocs.yml
5- configure mike as per mkdocs-material-example-versioning
mike list
0.2 [latest]
0.1
6- mkdocs serve
Package versions
Python: python --version
Python 3.6.2 :: Anaconda custom (64-bit)
MkDocs: mkdocs --version
mkdocs, version 1.2.3
Material: pip show mkdocs-material | grep -E ^Version
Version: 7.3.6
mike --version
mike 1.1.2
Configuration
----------mkdocs.yaml
--------------yamlsite_name: mydoctheme:
name: material extra:
version:
provider: mikedefault: latest
### System information
- Operating system: ...
- OS Name: Microsoft Windows 10 Pro
- OS Version: 10.0.18362 N/A Build 18362
- Browser: ...
- firefox 93.0 (64-bit)
The text was updated successfully, but these errors were encountered:
when running mkdocs serve , i got warning like [...] and the version link in header is not displayed, however when running mike serve, it is displayed correctly
You can't use mkdocs serve, you must use mike serve for versioning to work. That is a limitation of mike.
Contribution guidelines
I've found a bug and checked that ...
mkdocs
orreadthedocs
themescustom_dir
,extra_javascript
andextra_css
Description
with latest update mkdocs, mkdocs-material and mike, versioning is not working using them material,
when running mkdocs serve , i got warning like
WARNING - [23:50:07] "GET /versions.json HTTP/1.1" code 404
and the version link in header is not displayed, however when running mike server, it is displayed correctly
mkdocs-1.2.3
mkdocs-material-7.3.5
mike-1.1.2
Expected behaviour
to have version selector link
Actual behaviour
none and got warning when runing mkdocs
WARNING - [23:50:07] "GET /versions.json HTTP/1.1" code 404
Steps to reproduce
1- install mkdocs
2- install mkdocs-material
3- install mike
4- configure mkdocs.yml
5- configure mike as per mkdocs-material-example-versioning
0.2 [latest]
0.1
6- mkdocs serve
Package versions
python --version
mkdocs --version
pip show mkdocs-material | grep -E ^Version
Configuration
The text was updated successfully, but these errors were encountered: