Skip to content

Commit

Permalink
[docs] Fix docs environment variable ABQPY_MAKE_DOCS setting (backp…
Browse files Browse the repository at this point in the history
…ort #5346) (#5348)

[docs] Fix docs environment variable `ABQPY_MAKE_DOCS` setting (#5346)

(cherry picked from commit d1ec217)

Co-authored-by: Hailin Wang <[email protected]>
  • Loading branch information
mergify[bot] and haiiliin authored Oct 26, 2023
1 parent ea1e5ab commit 4e68dea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@

from sphinx.builders.html import StandaloneHTMLBuilder

import abqpy
# Environment variables
os.environ["ABQPY_MAKE_DOCS"] = "true"

import abqpy # noqa

project = "abqpy"
copyright = "2022, WANG Hailin"
Expand All @@ -46,9 +49,6 @@

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

# Environment variables
os.environ["ABQPY_MAKE_DOCS"] = "true"

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

0 comments on commit 4e68dea

Please sign in to comment.