Skip to content

Commit

Permalink
navbar links now accept relative and absolute links instead of absolu…
Browse files Browse the repository at this point in the history
…te only #15
  • Loading branch information
Thecarisma committed Sep 12, 2020
1 parent 0cd48d6 commit f1acf57
Show file tree
Hide file tree
Showing 21 changed files with 246 additions and 50 deletions.
21 changes: 20 additions & 1 deletion docs/clear/conf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,24 @@ The **conf.py** file that generates this documentation.
'otherpages/rightpage'
],
'source_root': 'https://github.com/Thecarisma/themata/edit/test/docs/clear/',
'source_root_edit_text': 'Edit on Github'
'source_root_edit_text': 'Edit on Github',
'metadata': {
"enable": True,
"url": "https://thecarisma.github.io/themata",
"type": "website",
"title": "Set of Highly customizable sphinx themes.",
"description": "Themata package contains different sphinx theme that can be easily customized to look like a complete website or just a documentation webpage.",
"image": "https://github.com/raw/Thecarisma/themata/main/docs/images/themata.small.png",
"keywords": "python, sphinx, thecarisma, themata, documentation, markdown, rst, themes",
"author": "Adewale Azeez"
},
'twitter_metadata': {
"enable": True,
"card": "summary",
"site": "@iamthecarisma",
"creator": "@iamthecarisma",
"title": "Set of Highly customizable sphinx themes.",
"description": "Themata package contains different sphinx theme that can be easily customized to look like a complete website or just a documentation webpage.",
"image": "https://github.com/raw/Thecarisma/themata/main/docs/images/themata.small.png",
}
}
27 changes: 26 additions & 1 deletion docs/fandango/conf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ The **conf.py** file that generates this documentation.
]
}
],
'navbar_links': [
('Twitter', 'https://twitter.com/iamthecarisma'),
('Github', 'https://github.com/Thecarisma/themata/'),
("Introduction", "general/introduction"),
("FAQ", "general/faq")
],
'social_icons': [
('fab fa-twitter', 'https://twitter.com/iamthecarisma'),
('fab fa-github', 'https://github.com/Thecarisma/themata/')
Expand All @@ -72,5 +78,24 @@ The **conf.py** file that generates this documentation.
'singlepage'
],
'source_root': 'https://github.com/Thecarisma/themata/edit/test/docs/fandango/',
'source_root_edit_text': 'Edit on Github'
'source_root_edit_text': 'Edit on Github',
'metadata': {
"enable": True,
"url": "https://thecarisma.github.io/themata",
"type": "website",
"title": "Set of Highly customizable sphinx themes.",
"description": "Themata package contains different sphinx theme that can be easily customized to look like a complete website or just a documentation webpage.",
"image": "https://github.com/raw/Thecarisma/themata/main/docs/images/themata.small.png",
"keywords": "python, sphinx, thecarisma, themata, documentation, markdown, rst, themes",
"author": "Adewale Azeez"
},
'twitter_metadata': {
"enable": True,
"card": "summary",
"site": "@iamthecarisma",
"creator": "@iamthecarisma",
"title": "Set of Highly customizable sphinx themes.",
"description": "Themata package contains different sphinx theme that can be easily customized to look like a complete website or just a documentation webpage.",
"image": "https://github.com/raw/Thecarisma/themata/main/docs/images/themata.small.png",
}
}
25 changes: 23 additions & 2 deletions docs/fluid/conf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ The **conf.py** file that generates this documentation.
'collapsible_sidebar_display': 'block',
'navbar_links': [
('Twitter', 'https://twitter.com/iamthecarisma'),
('Github', 'https://github.com/Thecarisma/themata/')
('Github', 'https://github.com/Thecarisma/themata/'),
("Introduction", "general/introduction"),
("FAQ", "general/faq")
],
'has_left_sidebar': True,
'has_right_sidebar': True,
Expand Down Expand Up @@ -71,5 +73,24 @@ The **conf.py** file that generates this documentation.
'otherpages/rightpage'
],
'source_root': 'https://github.com/Thecarisma/themata/edit/test/docs/fluid/',
'source_root_edit_text': 'Edit on Github'
'source_root_edit_text': 'Edit on Github',
'metadata': {
"enable": True,
"url": "https://thecarisma.github.io/themata",
"type": "website",
"title": "Set of Highly customizable sphinx themes.",
"description": "Themata package contains different sphinx theme that can be easily customized to look like a complete website or just a documentation webpage.",
"image": "https://github.com/raw/Thecarisma/themata/main/docs/images/themata.small.png",
"keywords": "python, sphinx, thecarisma, themata, documentation, markdown, rst, themes",
"author": "Adewale Azeez"
},
'twitter_metadata': {
"enable": True,
"card": "summary",
"site": "@iamthecarisma",
"creator": "@iamthecarisma",
"title": "Set of Highly customizable sphinx themes.",
"description": "Themata package contains different sphinx theme that can be easily customized to look like a complete website or just a documentation webpage.",
"image": "https://github.com/raw/Thecarisma/themata/main/docs/images/themata.small.png",
}
}
21 changes: 20 additions & 1 deletion docs/garri/conf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,24 @@ The **conf.py** file that generates this documentation.
],
'toc_title': 'Other Topics',
'source_root': 'https://github.com/Thecarisma/themata/edit/test/docs/garri/',
'source_root_edit_text': 'Edit on Github'
'source_root_edit_text': 'Edit on Github',
'metadata': {
"enable": True,
"url": "https://thecarisma.github.io/themata",
"type": "website",
"title": "Set of Highly customizable sphinx themes.",
"description": "Themata package contains different sphinx theme that can be easily customized to look like a complete website or just a documentation webpage.",
"image": "https://github.com/raw/Thecarisma/themata/main/docs/images/themata.small.png",
"keywords": "python, sphinx, thecarisma, themata, documentation, markdown, rst, themes",
"author": "Adewale Azeez"
},
'twitter_metadata': {
"enable": True,
"card": "summary",
"site": "@iamthecarisma",
"creator": "@iamthecarisma",
"title": "Set of Highly customizable sphinx themes.",
"description": "Themata package contains different sphinx theme that can be easily customized to look like a complete website or just a documentation webpage.",
"image": "https://github.com/raw/Thecarisma/themata/main/docs/images/themata.small.png",
}
}
25 changes: 23 additions & 2 deletions docs/hackish/conf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ The **conf.py** file that generates this documentation.
'show_navigators_in_index': False,
'navbar_links': [
('Twitter', 'https://twitter.com/iamthecarisma'),
('Github', 'https://github.com/Thecarisma/themata/')
('Github', 'https://github.com/Thecarisma/themata/'),
("Introduction", "general/introduction"),
("FAQ", "general/faq")
],
'has_left_sidebar': True,
'show_navigators': True,
Expand Down Expand Up @@ -66,5 +68,24 @@ The **conf.py** file that generates this documentation.
],
'toc_title': 'Other Topics',
'source_root': 'https://github.com/Thecarisma/themata/edit/test/docs/hackish/',
'source_root_edit_text': 'Edit on Github'
'source_root_edit_text': 'Edit on Github',
'metadata': {
"enable": True,
"url": "https://thecarisma.github.io/themata",
"type": "website",
"title": "Set of Highly customizable sphinx themes.",
"description": "Themata package contains different sphinx theme that can be easily customized to look like a complete website or just a documentation webpage.",
"image": "https://github.com/raw/Thecarisma/themata/main/docs/images/themata.small.png",
"keywords": "python, sphinx, thecarisma, themata, documentation, markdown, rst, themes",
"author": "Adewale Azeez"
},
'twitter_metadata': {
"enable": True,
"card": "summary",
"site": "@iamthecarisma",
"creator": "@iamthecarisma",
"title": "Set of Highly customizable sphinx themes.",
"description": "Themata package contains different sphinx theme that can be easily customized to look like a complete website or just a documentation webpage.",
"image": "https://github.com/raw/Thecarisma/themata/main/docs/images/themata.small.png",
}
}
25 changes: 23 additions & 2 deletions docs/milkish/conf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ The **conf.py** file that generates this documentation.
'collapsible_sidebar_display': 'block',
'navbar_links': [
('Twitter', 'https://twitter.com/iamthecarisma'),
('Github', 'https://github.com/Thecarisma/themata/')
('Github', 'https://github.com/Thecarisma/themata/'),
("Introduction", "general/introduction"),
("FAQ", "general/faq")
],
'has_left_sidebar': True,
'has_right_sidebar': True,
Expand Down Expand Up @@ -71,5 +73,24 @@ The **conf.py** file that generates this documentation.
'otherpages/rightpage'
],
'source_root': 'https://github.com/Thecarisma/themata/edit/test/docs/milkish/',
'source_root_edit_text': 'Edit on Github'
'source_root_edit_text': 'Edit on Github',
'metadata': {
"enable": True,
"url": "https://thecarisma.github.io/themata",
"type": "website",
"title": "Set of Highly customizable sphinx themes.",
"description": "Themata package contains different sphinx theme that can be easily customized to look like a complete website or just a documentation webpage.",
"image": "https://github.com/raw/Thecarisma/themata/main/docs/images/themata.small.png",
"keywords": "python, sphinx, thecarisma, themata, documentation, markdown, rst, themes",
"author": "Adewale Azeez"
},
'twitter_metadata': {
"enable": True,
"card": "summary",
"site": "@iamthecarisma",
"creator": "@iamthecarisma",
"title": "Set of Highly customizable sphinx themes.",
"description": "Themata package contains different sphinx theme that can be easily customized to look like a complete website or just a documentation webpage.",
"image": "https://github.com/raw/Thecarisma/themata/main/docs/images/themata.small.png",
}
}
25 changes: 23 additions & 2 deletions docs/sugar/conf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ The **conf.py** file that generates this documentation.
'collapsible_sidebar_display': 'block',
'navbar_links': [
('Twitter', 'https://twitter.com/iamthecarisma'),
('Github', 'https://github.com/Thecarisma/themata/')
('Github', 'https://github.com/Thecarisma/themata/'),
("Introduction", "general/introduction"),
("FAQ", "general/faq")
],
'navbar_sec_links': [
('Twitter', 'https://twitter.com/iamthecarisma'),
Expand Down Expand Up @@ -75,5 +77,24 @@ The **conf.py** file that generates this documentation.
'otherpages/rightpage'
],
'source_root': 'https://github.com/Thecarisma/themata/edit/test/docs/sugar/',
'source_root_edit_text': 'Edit on Github'
'source_root_edit_text': 'Edit on Github',
'metadata': {
"enable": True,
"url": "https://thecarisma.github.io/themata",
"type": "website",
"title": "Set of Highly customizable sphinx themes.",
"description": "Themata package contains different sphinx theme that can be easily customized to look like a complete website or just a documentation webpage.",
"image": "https://github.com/raw/Thecarisma/themata/main/docs/images/themata.small.png",
"keywords": "python, sphinx, thecarisma, themata, documentation, markdown, rst, themes",
"author": "Adewale Azeez"
},
'twitter_metadata': {
"enable": True,
"card": "summary",
"site": "@iamthecarisma",
"creator": "@iamthecarisma",
"title": "Set of Highly customizable sphinx themes.",
"description": "Themata package contains different sphinx theme that can be easily customized to look like a complete website or just a documentation webpage.",
"image": "https://github.com/raw/Thecarisma/themata/main/docs/images/themata.small.png",
}
}
25 changes: 23 additions & 2 deletions docs/water/conf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ The **conf.py** file that generates this documentation.
'show_navigators_in_index': False,
'navbar_links': [
('Twitter', 'https://twitter.com/iamthecarisma'),
('Github', 'https://github.com/Thecarisma/themata/')
('Github', 'https://github.com/Thecarisma/themata/'),
("Introduction", "general/introduction"),
("FAQ", "general/faq")
],
'has_left_sidebar': True,
'show_navigators': True,
Expand Down Expand Up @@ -65,5 +67,24 @@ The **conf.py** file that generates this documentation.
'otherpages/singlepage'
],
'source_root': 'https://github.com/Thecarisma/themata/edit/test/docs/water/',
'source_root_edit_text': 'Edit on Github'
'source_root_edit_text': 'Edit on Github',
'metadata': {
"enable": True,
"url": "https://thecarisma.github.io/themata",
"type": "website",
"title": "Set of Highly customizable sphinx themes.",
"description": "Themata package contains different sphinx theme that can be easily customized to look like a complete website or just a documentation webpage.",
"image": "https://github.com/raw/Thecarisma/themata/main/docs/images/themata.small.png",
"keywords": "python, sphinx, thecarisma, themata, documentation, markdown, rst, themes",
"author": "Adewale Azeez"
},
'twitter_metadata': {
"enable": True,
"card": "summary",
"site": "@iamthecarisma",
"creator": "@iamthecarisma",
"title": "Set of Highly customizable sphinx themes.",
"description": "Themata package contains different sphinx theme that can be easily customized to look like a complete website or just a documentation webpage.",
"image": "https://github.com/raw/Thecarisma/themata/main/docs/images/themata.small.png",
}
}
8 changes: 4 additions & 4 deletions test/confs/fandango.conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
"singlepage"
],
'navbar_links': [
("Docs", "./docs"),
("Download", "https://pypi.python.org/pypi/milkish"),
("Examples", "./examples"),
("FAQ", "./faq")
("General", "general/index"),
("Download", "https://pypi.python.org/pypi/themata"),
("Introduction", "general/introduction"),
("FAQ", "general/faq")
],
'social_icons': [
("fab fa-twitter", "https://twitter.com/iamthecarisma"),
Expand Down
8 changes: 4 additions & 4 deletions test/confs/fluid.conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
"singlepage"
],
'navbar_links': [
("Docs", "./docs"),
("Download", "https://pypi.python.org/pypi/milkish"),
("Examples", "./examples"),
("FAQ", "./faq")
("General", "general/index"),
("Download", "https://pypi.python.org/pypi/themata"),
("Introduction", "general/introduction"),
("FAQ", "general/faq")
],
'social_icons': [
("fab fa-twitter", "https://twitter.com/iamthecarisma"),
Expand Down
8 changes: 4 additions & 4 deletions test/confs/hackish.conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
"singlepage"
],
'navbar_links': [
("Docs", "./docs"),
("Download", "https://pypi.python.org/pypi/milkish"),
("Examples", "./examples"),
("FAQ", "./faq")
("General", "general/index"),
("Download", "https://pypi.python.org/pypi/themata"),
("Introduction", "general/introduction"),
("FAQ", "general/faq")
],
'social_icons': [
("fab fa-twitter", "https://twitter.com/iamthecarisma"),
Expand Down
8 changes: 4 additions & 4 deletions test/confs/milkish.conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
"singlepage"
],
'navbar_links': [
("Docs", "./docs"),
("Download", "https://pypi.python.org/pypi/milkish"),
("Examples", "./examples"),
("FAQ", "./faq")
("General", "general/index"),
("Download", "https://pypi.python.org/pypi/themata"),
("Introduction", "general/introduction"),
("FAQ", "general/faq")
],
'social_icons': [
("fab fa-twitter", "https://twitter.com/iamthecarisma"),
Expand Down
16 changes: 8 additions & 8 deletions test/confs/sugar.conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@
"singlepage"
],
'navbar_links': [
("Docs", "./docs"),
("Download", "https://pypi.python.org/pypi/milkish"),
("Examples", "./examples"),
("FAQ", "./faq")
("General", "general/index"),
("Download", "https://pypi.python.org/pypi/themata"),
("Introduction", "general/introduction"),
("FAQ", "general/faq")
],
'navbar_sec_links': [
("Docs", "./docs"),
("Download", "https://pypi.python.org/pypi/milkish"),
("Examples", "./examples"),
("FAQ", "./faq")
("General", "general/index"),
("Download", "https://pypi.python.org/pypi/themata"),
("Introduction", "general/introduction"),
("FAQ", "general/faq")
],
'social_icons': [
("fab fa-twitter", "https://twitter.com/iamthecarisma"),
Expand Down
8 changes: 4 additions & 4 deletions test/confs/water.conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
"singlepage"
],
'navbar_links': [
("Docs", "./docs"),
("Download", "https://pypi.python.org/pypi/milkish"),
("Examples", "./examples"),
("FAQ", "./faq")
("General", "general/index"),
("Download", "https://pypi.python.org/pypi/themata"),
("Introduction", "general/introduction"),
("FAQ", "general/faq")
],
'social_icons': [
("fab fa-twitter", "https://twitter.com/iamthecarisma"),
Expand Down
2 changes: 1 addition & 1 deletion test/test_rst/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Sphinx’s basic theme provides base templates with a couple of blocks it will f

For example, to add a new link to the template area containing related links all you have to do is to add a new template called layout.html with the following contents:

.. image:: https://github.com/Thecarisma/themata/raw/master/docs/images/themata.png
.. image:: https://github.com/Thecarisma/themata/raw/main/docs/images/themata.png
:alt: About to make the tackle, Yale Alumni Game 2017
:align: center

Expand Down
Loading

0 comments on commit f1acf57

Please sign in to comment.