Skip to content

Commit

Permalink
Updated documentation scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Omkar Phansopkar <omkarphansopkar@gmail.com>
  • Loading branch information
OmkarPh committed Oct 2, 2023
1 parent bc838c5 commit 9eadc37
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ help:
.PHONY: help Makefile

# Run the development server using sphinx-autobuild
dev:
docs:
@echo
@echo "Starting up the dev docs server..."
@echo "Starting up the docs server..."
@echo
$(SPHINXAUTOBUILD) --port 8000 --watch ${SOURCEDIR} $(SOURCEDIR) "$(BUILDDIR)/html" $(SPHINXOPTS) $(O)

Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ $ source venv/bin/activate
$ pip install -r requirements.txt
```

Run Sphinx documentation server in dev mode:
Run Sphinx documentation server:
```
$ make dev
$ make docs
```

Build Sphinx documentation
Expand Down
6 changes: 3 additions & 3 deletions docs/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ set BUILDDIR=build

if "%1" == "" goto help

if "%1" == "dev" goto dev
if "%1" == "docs" goto docs

%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
Expand All @@ -33,9 +33,9 @@ if errorlevel 9009 (
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
goto end

:dev
:docs
@echo
@echo Starting up the dev docs server...
@echo Starting up the docs server...
@echo
%SPHINXAUTOBUILD% --port 8000 --watch %SOURCEDIR% %SOURCEDIR% %BUILDDIR%\html %SPHINXOPTS% %O%
goto end
Expand Down
4 changes: 2 additions & 2 deletions docs/source/contribute/building.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,5 @@ Create python environment, make docs
# Build Documentation
$ make html
# Run Documentation server in dev mode
$ make dev
# Run Documentation server
$ make docs

0 comments on commit 9eadc37

Please sign in to comment.