Updated styles and theme options

pull/11/head
Paco Hope 2022-08-09 19:55:04 -04:00
parent 74cddba463
commit b90c4d7a61
3 changed files with 16 additions and 7 deletions

View File

@ -1,2 +1,3 @@
sphinx
sphinx-argparse
alabaster

View File

@ -2,6 +2,10 @@
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
import alabaster
html_theme_path = [alabaster.get_path()]
html_theme = 'alabaster'
project = 'TFScript'
copyright = '2022, Nicholas Hope and Paco Hope'
@ -12,11 +16,16 @@ extensions = [
'sphinx.ext.doctest',
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
'sphinxarg.ext' ]
'sphinxarg.ext',
'alabaster' ]
templates_path = ['_templates']
exclude_patterns = []
html_theme = 'alabaster'
html_static_path = ['_static']
html_theme_options = {
'description' : "Managing and simplifying TF2 scripts.",
'fixed_sidebar' : True,
'show_powered_by' : False,
}
import os
import sys

View File

@ -4,9 +4,8 @@ Welcome to TFScript
TFScript helps you manage all the customisations you make to your Team Fortress 2 configurations. If you have `custom scripts <https://wiki.teamfortress.com/wiki/Scripting_faq>`_ in your ``cfg`` files, then this will help you automate that.
.. toctree::
:maxdepth: 1
:hidden:
:glob:
cli
installing
*