diff --git a/.readthedocs.yml b/.readthedocs.yml index d161ec9b53..3546358553 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -7,9 +7,8 @@ mkdocs: build: os: ubuntu-20.04 tools: - python: "3.11" + python: "3.13" python: install: - - requirements: pip_require.txt - requirements: requirements.txt diff --git a/docs/css/navigation.css b/docs/css/navigation.css index 4bac94e3dc..a079aa2634 100644 --- a/docs/css/navigation.css +++ b/docs/css/navigation.css @@ -56,6 +56,7 @@ .md-nav--secondary { padding-left: 10px; padding-bottom: 10px; + margin-bottom: 0; padding-top: 7rem; height: calc(100vh - 138px); } @@ -64,9 +65,12 @@ position: relative; } -.md-nav--secondary>ul { +.md-nav--secondary > ul { border-left: 1px solid var(--mid-grey); margin-left: 0.4rem; +} + +[dir=ltr] .md-nav--secondary ul.md-nav__list { padding-left: 0; } @@ -118,7 +122,12 @@ /* End Page TOC */ /* Main nav */ -.md-nav--primary .md-nav__link { +[dir=ltr] .md-nav--primary .md-nav__list { + padding-left: 0; +} + +[dir=ltr] .md-nav--primary .md-nav__item > .md-nav__link { + margin-right: 0; font-size: 16px; } diff --git a/mkdocs.yml b/mkdocs.yml index a2ecde136c..2af6fbe9e8 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -4,6 +4,9 @@ site_name: Developer Documentation repo_url: https://github.com/ibexa/documentation-developer site_url: https://doc.ibexa.co/en/latest/ copyright: "Copyright 1999-2024 Ibexa AS and others" +validation: + links: + absolute_links: relative_to_docs nav: - Ibexa Developer Documentation: index.md - Ibexa DXP editions: diff --git a/pip_require.txt b/pip_require.txt deleted file mode 100644 index 2de5dd1f5b..0000000000 --- a/pip_require.txt +++ /dev/null @@ -1 +0,0 @@ -pip==23.3 diff --git a/requirements.txt b/requirements.txt index ff407669ad..d2f3bb1f31 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,9 @@ -mkdocs==1.5.1 -Pygments==2.15.0 -pymdown-extensions==10.0.1 -Markdown==3.2.1 -mkdocs-material==9.1.1 -mkdocs-macros-plugin==0.7.0 -mkdocs-redirects==1.2.0 -mkdocs-autolinks-plugin==0.7.0 +mkdocs==1.6.1 +Pygments==2.19.1 +pymdown-extensions==10.14.3 +Markdown==3.7 +mkdocs-material==9.6.5 +mkdocs-macros-plugin==1.3.7 +mkdocs-redirects==1.2.2 +mkdocs-autolinks-plugin==0.7.1 Jinja2==3.1.6