Skip to content

Commit

Permalink
Update conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cirospat committed Sep 14, 2023
1 parent 27e6b2d commit fb73bfa
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
from __future__ import unicode_literals
import sys, os

# 13 ott 2023 provo a copiare da https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/conf.py
# il 13 sett 2023 copiando da https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/conf.py ho dato questa configurazione
import re

# 13 ott 2023 provo a copiare da https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/conf.py
# il 13 sett 2023 copiando da https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/conf.py ho dato questa configurazione
from sphinx_rtd_theme import __version__ as theme_version
from sphinx_rtd_theme import __version_full__ as theme_version_full

# dal conf.py di tansignari #
# dal conf.py di tansignari
import recommonmark
from recommonmark.transform import AutoStructify

Expand All @@ -21,6 +21,8 @@

__version__ = '1.0'



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

# source_suffix = '.rst' eliminato dal conf.py di tansignari #
Expand All @@ -37,8 +39,8 @@

# -- Options for HTML output ---------------------------------------------------

# html_theme = 'default'
# 13 ott 2023 provo a copiare da https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/conf.py
# html_theme = 'default' (eliminato il 13 sett 2023 in quanto la parte grafica di RTD si era rotta
# il 13 sett 2023 copiando da https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/conf.py ho dato questa configurazione
html_theme = 'sphinx_rtd_theme'

html_static_path = ['static']
Expand All @@ -47,7 +49,7 @@ def setup(app):
# overrides for wide tables in RTD theme
app.add_stylesheet('theme_overrides.css') # path relative to static

#dal conf.py di tansignari #
# dal conf.py di tansignari
from recommonmark.parser import CommonMarkParser

source_parsers = {
Expand All @@ -73,6 +75,7 @@ def setup(app):
html_logo = "static/ciro.jpeg"



# Adding Custom CSS or JavaScript to a Sphinx Project: al seguente link ci sono esempi
# https://docs.readthedocs.io/en/latest/guides/adding-custom-css.html

Expand Down

0 comments on commit fb73bfa

Please sign in to comment.