1
0
mirror of https://github.com/nlohmann/json synced 2024-11-27 06:10:06 +00:00
nlohmannjson/doc
Niels Lohmann 29cd970b94
Consolidate documentation (#3071)
* 🔥 consolidate documentation
* ♻️ overwork std specializations
* 🚚 move images files to mkdocs
* ♻️ fix URLs
* 🔧 tweak MkDocs configuration
* 🔧 add namespaces
* 📝 document deprecations
* 📝 document documentation generation
* 🚸 improve search
* 🚸 add examples
* 🚧 start adding documentation for macros
* 📝 add note for https://github.com/nlohmann/json/issues/874#issuecomment-1001699139
* 📝 overwork example handling
* 📝 fix Markdown tables
2021-12-29 13:41:01 +01:00
..
docset Update docset generation script (#2967) 2021-09-01 08:43:10 +02:00
examples Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
mkdocs Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
usages 📝 listing projects using the library 2017-02-08 19:16:38 +01:00
avatars.png 🔖 set version to 3.10.1 2021-08-24 20:19:55 +02:00
index.md 🔖 set version to 3.10.4 2021-10-16 13:34:31 +02:00
json.gif 🔖 set version to 3.10.4 2021-10-16 13:34:31 +02:00
Makefile Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00
README.md Consolidate documentation (#3071) 2021-12-29 13:41:01 +01:00

Documentation

Generate documentation

Note on documentation: The source files contain links to the online documentation at https://json.nlohmann.me. This URL contains the most recent documentation and should also be applicable to previous versions; documentation for deprecated functions is not removed, but marked deprecated.

If you want to see the documentation for a specific tag or commit hash, you can generate it as follows (here for tag v3.10.2):

git clone https://github.com/nlohmann/json.git
cd json
git checkout v3.10.2
make install_venv serve -C doc/mkdocs

Open URL http://127.0.0.1:8000/ in your browser. Replace from any URL from the source code https://json.nlohmann.me with http://127.0.0.1:8000 to see the documentation for your tag or commit hash.