Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/csctd/pechakuchaTest into 1…
Browse files Browse the repository at this point in the history
…-adding-extention-to-the-test-site
  • Loading branch information
isaacgbaba committed Dec 17, 2023
2 parents 812dc18 + 47dffa6 commit 4f4afaa
Showing 1 changed file with 17 additions and 40 deletions.
57 changes: 17 additions & 40 deletions conf.py
Original file line number Diff line number Diff line change
@@ -1,55 +1,33 @@
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
# ----------------------------------------------------------------------------

# -- General configuration ---------------------------------------------------

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
# # -- Project information -----------------------------------------------------

# conf.py
# project = 'Site Title'
# copyright = '2023, Your name'
# author = 'Your Name'

# ...

# Specify 'dirhtml' as one of the builders
html_theme = 'sphinx_rtd_theme'

# Add 'dirhtml' to the 'html_theme_options' configuration
html_theme_options = {
'style_nav_header_background': '#343131',
}
# # ----------------------------------------------------------------------------
# # Below here does not need to be edited for the lab
# # ----------------------------------------------------------------------------

# Specify 'dirhtml' as one of the builders
# -- General configuration ---------------------------------------------------

# ...
# # 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']
Expand Down Expand Up @@ -137,7 +115,6 @@
# "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")

0 comments on commit 4f4afaa

Please sign in to comment.