| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 962ec65 commit d4903d5
9 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -13,5 +13,6 @@ test.py | |||
| 13 | 13 | htmlcov/ | |
| 14 | 14 | benchmarks/*.json | |
| 15 | 15 | docs/_build/ | |
| 16 | + docs/examples/*.html | ||
| 16 | 17 | old-version/ | |
| 17 | 18 | *.swp | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ | |||
| 3 | 3 | History | |
| 4 | 4 | ------- | |
| 5 | 5 | ||
| 6 | - v0.3.0 (2017-10-XX) | ||
| 6 | + v0.3.0 (2017-10-11) | ||
| 7 | 7 | ................... | |
| 8 | 8 | * allow ``async/await`` arguments | |
| 9 | 9 | * fix subscript | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -59,4 +59,4 @@ docs: | |||
| 59 | 59 | publish: docs | |
| 60 | 60 | cd docs/_build/ && cp -r html site && zip -r site.zip site | |
| 61 | 61 | @curl -H "Content-Type: application/zip" -H "Authorization: Bearer ${NETLIFY}" \ | |
| 62 | - --data-binary "@docs/_build/site.zip" https://api.netlify.com/api/v1/sites/pydantic-docs.netlify.com/deploys | ||
| 62 | + --data-binary "@docs/_build/site.zip" https://api.netlify.com/api/v1/sites/python-devtools.netlify.com/deploys | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,9 +11,19 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(SPHINXOPTS) . | |||
| 11 | 11 | .PHONY: clean | |
| 12 | 12 | clean: | |
| 13 | 13 | rm -rf $(BUILDDIR) | |
| 14 | + rm examples/*.html | true | ||
| 15 | + | ||
| 16 | + .PHONY: doc-examples | ||
| 17 | + doc-examples: | ||
| 18 | + @( echo '<pre class="ansi2html-content">'; \ | ||
| 19 | + PY_DEVTOOLS_HIGHLIGHT=true python examples/1_input.py | ansi2html -p; \ | ||
| 20 | + echo '</pre>' ) > examples/1_output.html | ||
| 21 | + @( echo '<pre class="ansi2html-content">'; \ | ||
| 22 | + PY_DEVTOOLS_HIGHLIGHT=true python examples/2_input.py | ansi2html -p; \ | ||
| 23 | + echo '</pre>' ) > examples/2_output.html | ||
| 14 | 24 | ||
| 15 | 25 | .PHONY: html | |
| 16 | - html: clean | ||
| 26 | + html: clean doc-examples | ||
| 17 | 27 | mkdir -p $(STATICDIR) | |
| 18 | 28 | $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html | |
| 19 | 29 | @echo | |
| Back | FazBrowse Home | New Git URL |
0 commit comments