mirror of
https://github.com/nlohmann/json.git
synced 2026-02-17 09:03:58 +00:00
docs: improve clarity and formatting in documentation generation section (#5021)
This commit is contained in:
@@ -2,12 +2,12 @@
|
|||||||
|
|
||||||
## Generate documentation
|
## Generate documentation
|
||||||
|
|
||||||
Note on documentation: The source files contain links to the online documentation at https://json.nlohmann.me. This URL
|
Note on documentation: The source files contain links to the online documentation at https://json.nlohmann.me.
|
||||||
contains the most recent documentation and should also be applicable to previous versions; documentation for deprecated
|
This URL provides the most recent documentation and also applies to previous versions. Documentation for deprecated
|
||||||
functions is not removed, but marked deprecated.
|
functions is not removed; instead, it is marked as deprecated.
|
||||||
|
|
||||||
If you want to see the documentation for a specific tag or commit hash, you can generate it as follows (here for tag
|
If you want to view the documentation for a specific tag or commit hash, you can generate it locally as follows (example
|
||||||
`v3.10.2`):
|
using tag `v3.10.2`):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git clone https://github.com/nlohmann/json.git
|
git clone https://github.com/nlohmann/json.git
|
||||||
@@ -16,5 +16,8 @@ git checkout v3.10.2
|
|||||||
make install_venv serve -C docs/mkdocs
|
make install_venv serve -C docs/mkdocs
|
||||||
```
|
```
|
||||||
|
|
||||||
Open URL <http://127.0.0.1:8000/> in your browser. Replace from any URL from the source code `https://json.nlohmann.me`
|
Open <http://127.0.0.1:8000/> in your browser. Replace any URL in the source code that points to
|
||||||
with `http://127.0.0.1:8000` to see the documentation for your tag or commit hash.
|
`https://json.nlohmann.me` with `http://127.0.0.1:8000` to view the documentation for the selected tag or commit hash.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user