8000 add diataxis info to docs readme (#548) · cm2solutions/pyscript@96a73e3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 96a73e3

Browse files
authored
add diataxis info to docs readme (pyscript#548)
* add loca build info to htmlserve * add info about diataxis to the docs/readme * add diataxis img
1 parent c7942d7 commit 96a73e3

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

docs/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ shell:
3131
@echo 'conda activate $(env)'
3232

3333
htmlserve:
34-
python -m http.server -d "$(BUILDDIR)/html/"
34+
@echo 'visit docs at http://localhost:8080'
35+
python -m http.server -d "$(BUILDDIR)/html/" 8080
3536

3637
livehtml:
3738
sphinx-autobuild "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

docs/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@ Before you start contributing to the documentation, it's worthwhile to
99
take a look at the general contributing guidelines for the PyScript project. You can find these guidelines here
1010
[Contributing Guidelines](https://github.com/pyscript/pyscript/blob/main/CONTRIBUTING.md)
1111

12+
## Documentation Principles
13+
14+
The PyScript documentation is based on a documentation framework called [Diátaxis](https://diataxis.fr/). This framework helps to solve the problem of structure in technical documentation and identifies four modes of documentation - **tutorials, how-to guides, technical reference and explanation**. Each one of these modes answers to a different user need, fulfils a different purpose and requires a different approach to its creation.
15+
16+
The picture below gives a good visual representation of that separation of concerns:
17+
18+
![pyodide-pyscript](./img/diataxis.png)
19+
20+
So, please keep that in mind when contributing to the project documentation. For more information on, make sure to check [their website](https://diataxis.fr/).
21+
1222
### Setup
1323

1424
The `docs` directory in the pyscript repository contains a

docs/img/diataxis.png

108 KB
Loading

0 commit comments

Comments
 (0)
0