Skip to content

Commit c0bb1b6

Browse files
committed
RTD fixes
1 parent 8b11881 commit c0bb1b6

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

ARCHITECTURE.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Note a few things:
6161

6262
We do not, in fact, generate Python code as a string, but instead generate AST
6363
which we can convert to executable Python functions using the builtin functions
64-
`compile <https://docs.python.org/3/library/functions.html#compile>`_ and `exec
64+
`compile <https://docs.python.org/3/library/functions.html#compile>`__ and `exec
6565
<https://docs.python.org/3/library/functions.html#exec>`_.
6666

6767
Layers
@@ -86,7 +86,7 @@ module to construct correct code without worrying about lower level details.
8686

8787
The classes in the ``codegen`` module eventually need to produce AST objects
8888
that can be passed to Python’s builtin `compile
89-
<https://docs.python.org/3/library/functions.html?highlight=compile#compile>`_
89+
<https://docs.python.org/3/library/functions.html?highlight=compile#compile>`__
9090
function. The stdlib `ast <https://docs.python.org/3/library/ast.html>`_ module
9191
has incompatible differences between different Python versions, so we abstract
9292
over these in ``fluent_compiler.ast_compat`` which allows the ``codegen`` module

docs/conf.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
extensions = [
4242
"sphinx.ext.intersphinx",
4343
"sphinx.ext.viewcode",
44+
"sphinx_rtd_theme",
4445
]
4546

4647
# Add any paths that contain templates here, relative to this directory.
@@ -60,7 +61,7 @@
6061
#
6162
# This is also used if you do content translation via gettext catalogs.
6263
# Usually you set "language" from the command line for these cases.
63-
language = None
64+
language = "en"
6465

6566
# List of patterns, relative to source directory, that match files and
6667
# directories to ignore when looking for source files.
@@ -76,7 +77,7 @@
7677
# The theme to use for HTML and HTML Help pages. See the documentation for
7778
# a list of builtin themes.
7879
#
79-
html_theme = "default"
80+
html_theme = "sphinx_rtd_theme"
8081

8182
# Theme options are theme-specific and customize the look and feel of a theme
8283
# further. For a list of options available for each theme, see the

0 commit comments

Comments
 (0)