diff --git a/docs/source/_templates/layout.html b/docs/source/_templates/layout.html index ecd0fb0..b9dd837 100644 --- a/docs/source/_templates/layout.html +++ b/docs/source/_templates/layout.html @@ -4,20 +4,23 @@ {% block extrahead %} {{ super() }} - +{% set canonical_url = pageurl | replace('index.html', '') if pageurl else 'https://docs.cryptnox.com/' %} + + - + - - + + + diff --git a/docs/source/conf.py b/docs/source/conf.py index 3352edc..e4a4d17 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -9,7 +9,7 @@ # -- General configuration --------------------------------------------------- -extensions = [] +extensions = ['sphinx_multiversion', 'sphinx_sitemap'] templates_path = ['_templates'] exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] @@ -19,6 +19,8 @@ # -- SEO meta tags ----------------------------------------------------------- html_baseurl = 'https://docs.cryptnox.com/' +html_title = 'Cryptnox Docs' +sitemap_url_scheme = "{link}" html_meta = { 'description': 'Access the official Cryptnox technical documentation. Explore setup guides, features, and integration details for secure and efficient solutions.', diff --git a/requirements.txt b/requirements.txt index cbf1e36..7f6d908 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,4 @@ sphinx sphinx-rtd-theme +sphinx-multiversion +sphinx-sitemap