Skip to content

Commit

Permalink
Adding autobuild (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
mi-parkes authored Oct 27, 2024
1 parent 81162d4 commit ad076e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"plantuml.jar":"${env:PLANTUML_PATH}"
"plantuml.jar":"${env:PLANTUML_PATH}",
"liveServer.settings.root": "doc/build/html"
}
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ sphinxcontrib-plantuml = "0.24"
sphinx-needs = "2.0.0"
sphinx-copybutton = "0.5.2"
sphinx_mindmap = ">=0.5.0"
restview = "3.0.2"
pillow = "11.0.0"
sphinx-autobuild = "*"

#sphinx-needs-data-explorer= {path = "./", develop = true}

[build-system]
Expand All @@ -47,9 +48,9 @@ help = { cmd = "task --list", help="Show this help" }
doc = { cmd = "cd doc && sphinx-build -M html source build", help = "Generate the package documentation using Sphinx." }
black = { cmd = "poetry run -vvv black .", help = "Apply the Black code formatter to the package's source tree." }
clean = { cmd = "rm -rf build dist doc/build", help = "Remove all intermediate and output files." }
clean-doc = { cmd = "rm -rf doc/build", help = "Remove all intermediate and output documentation files." }
doc-clean = { cmd = "rm -rf doc/build", help = "Remove all intermediate and output documentation files." }
doc-preview = { cmd = "sphinx-autobuild doc/source doc/build/html", help = "Preview your documentation RST files rendering"}
set-readme-refs = { cmd = "sed -i 's/41b530aa785343e4d378f0a5664ce520b158ed16/41b530aa785343e4d378f0a5664ce520b158ed16/g' README.md" }
restview = { cmd = "poetry run restview README.poetry" }

[tool.black]
line-length = 88
Expand Down

0 comments on commit ad076e3

Please sign in to comment.