diff options
| author | Christian Poessinger <christian@poessinger.com> | 2019-04-28 21:38:05 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-04-28 21:38:05 +0200 | 
| commit | f9a3754b0d5ae41dade03f61532c1ceedf44cd69 (patch) | |
| tree | 8cc619ff8d9e342be5b14750d3e16d1e479a3fe0 /docs | |
| parent | febde3b40d3a68de63ee458b6fdafa75011a6f64 (diff) | |
| parent | 46ea8e770b23d9aac83fc21a7656355045cc0630 (diff) | |
| download | vyos-documentation-f9a3754b0d5ae41dade03f61532c1ceedf44cd69.tar.gz vyos-documentation-f9a3754b0d5ae41dade03f61532c1ceedf44cd69.zip | |
Merge pull request #41 from kmpm/features/autobuild
Add sphinx-autobuild to docker
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/Makefile | 10 | 
1 files changed, 9 insertions, 1 deletions
| diff --git a/docs/Makefile b/docs/Makefile index 6bf90e40..2b9976d5 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -8,6 +8,10 @@ SPHINXPROJ    = VyOS  SOURCEDIR     = .  BUILDDIR      = _build +AUTOHOST      =0.0.0.0 +AUTOPORT      =8000 +AUTOOPTS      =--poll +  # Put it first so that "make" without argument is like "make help".  help:  	@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) @@ -17,4 +21,8 @@ help:  # Catch-all target: route all unknown targets to Sphinx using the new  # "make mode" option.  $(O) is meant as a shortcut for $(SPHINXOPTS).  %: Makefile -	@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
\ No newline at end of file +	@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) + +livehtml: +	sphinx-autobuild --host $(AUTOHOST) --port $(AUTOPORT) $(AUTOOPTS) \ +		"$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
\ No newline at end of file | 
