mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-11 17:14:41 +00:00
doc/make: Build main doc target by default.
Less typing is better.
This commit is contained in:
+3
-3
@@ -61,15 +61,15 @@ Initial setup:
|
||||
Build docs:
|
||||
|
||||
# Linux
|
||||
poetry run make -C doc html SPHINXOPTS=-tmain
|
||||
poetry run make -C doc html
|
||||
xdg-open doc/main/build/html/index.html
|
||||
|
||||
# macOS
|
||||
poetry run make -C doc html SPHINXOPTS=-tmain
|
||||
poetry run make -C doc html
|
||||
open doc/main/build/html/index.html
|
||||
|
||||
# Windows (PowerShell)
|
||||
poetry run doc\make.bat html SPHINXOPTS=-tmain
|
||||
poetry run doc\make.bat html
|
||||
Invoke-Item doc\main\build\html\index.html
|
||||
|
||||
Linting:
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
#
|
||||
|
||||
# You can set these variables from the command line.
|
||||
SPHINXOPTS = -W
|
||||
SPHINXOPTS = -W -tmain
|
||||
SPHINXBUILD = sphinx-build
|
||||
SPHINXPROJ = Pybricks
|
||||
SOURCEDIR = main
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ REM Command file for Sphinx documentation
|
||||
if "%SPHINXBUILD%" == "" (
|
||||
set SPHINXBUILD=sphinx-build
|
||||
)
|
||||
set SPHINXOPTS=-W
|
||||
set SPHINXOPTS=-W -tmain
|
||||
set SOURCEDIR=main
|
||||
set BUILDDIR=%SOURCEDIR%/build
|
||||
set SPHINXPROJ=Pybricks
|
||||
|
||||
Reference in New Issue
Block a user