Skip to content

Commit

Permalink
docs!: update to v3 style (#3324) (#3432)
Browse files Browse the repository at this point in the history
fix(docs): adjust build script
  • Loading branch information
JacobCoffee authored and provinzkraut committed Apr 28, 2024
1 parent 446cff8 commit 6c431d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,5 @@ def delayed_setup(app: Sphinx) -> None:

def setup(app: Sphinx) -> dict[str, bool]:
app.connect("builder-inited", delayed_setup, priority=0)

app.setup_extension("litestar_sphinx_theme")

return {"parallel_read_safe": True, "parallel_write_safe": True}
3 changes: 2 additions & 1 deletion tools/build_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

parser = argparse.ArgumentParser()
parser.add_argument("--version", required=False)
parser.add_argument("--environment", required=False)
parser.add_argument("output")


Expand Down Expand Up @@ -86,7 +87,7 @@ def build(output_dir: str, version: str | None, environment: str = "local") -> N

def main() -> None:
args = parser.parse_args()
build(output_dir=args.output, version=args.version)
build(output_dir=args.output, version=args.version, environment=args.environment)


if __name__ == "__main__":
Expand Down

0 comments on commit 6c431d8

Please sign in to comment.