diff --git a/conf.py b/conf.py index 1815724..2ce8067 100644 --- a/conf.py +++ b/conf.py @@ -1,33 +1,55 @@ import os import sys +sys.path.insert(0, os.path.abspath('_ext')) # Adjust '_ext' to your directory's path -sys.path.append(os.path.abspath("./_ext")) -extensions = ['todo'] +# extensions = ['todo'] todo_include_todos = False +# -- Project information ----------------------------------------------------- + +project = 'Site Title' +copyright = '2023, Your name' +author = 'Your Name' + +extensions = [ + 'Pechakucha.pechakucha_directive', + #"myst_nb", + #"ablog", + 'sphinx.ext.intersphinx', + "sphinx_design", + 'todo', + #"sphinxext.opengraph", + ] +# ---------------------------------------------------------------------------- +# Below here does not need to be edited for the lab +# ---------------------------------------------------------------------------- -# # -- Project information ----------------------------------------------------- +# -- General configuration --------------------------------------------------- -# project = 'Site Title' -# copyright = '2023, Your name' -# author = 'Your Name' +# Add any Sphinx extension module names here, as strings. They can be +# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom +# ones. +# conf.py +# ... -# # ---------------------------------------------------------------------------- -# # Below here does not need to be edited for the lab -# # ---------------------------------------------------------------------------- +# Specify 'dirhtml' as one of the builders +html_theme = 'sphinx_rtd_theme' -# -- General configuration --------------------------------------------------- +# Add 'dirhtml' to the 'html_theme_options' configuration +html_theme_options = { + 'style_nav_header_background': '#343131', +} + +# Specify 'dirhtml' as one of the builders -# # Add any Sphinx extension module names here, as strings. They can be -# # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom -# # ones. +# ... -# # "sphinxext.rediraffe", +# "sphinxext.rediraffe", # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -115,6 +137,7 @@ # "tasklist", ] -# def setup(app): -# app.add_css_file("custom.css") -# # app.add_js_file("custom.js") +def setup(app): + app.add_css_file("custom.css") + app.add_js_file("custom.js") + diff --git a/index.rst b/index.rst index 89b5145..39954ac 100644 --- a/index.rst +++ b/index.rst @@ -1,5 +1,5 @@ Welcome to my profile site! -==================================== +============ .. toctree:: somefile.rst diff --git a/somefile.rst b/somefile.rst index 135dc7a..d86b45b 100644 --- a/somefile.rst +++ b/somefile.rst @@ -1,6 +1,6 @@ ================= My Pechakucha -================= +================= Hello everyone, this is my first time running this extension to see how it works diff --git a/someotherfile.rst b/someotherfile.rst index 590fa1f..cd8b8f3 100644 --- a/someotherfile.rst +++ b/someotherfile.rst @@ -1,10 +1,9 @@ -foo -=== +=============== +Class Progress +=============== .. This is what I have to get done for this class: .. .. todolist:: -.. write code for pechakucha -.. Add to github -.. Make extension + finished pechakucha