openfoodfacts / search-a-licious

🍊🔎 A pluggable search service for large collections of objects (like Open Food Facts)
https://search.openfoodfacts.org
GNU Affero General Public License v3.0
10 stars 6 forks source link

Publish config schema reference by generating it #216

Closed alexgarel closed 3 months ago

alexgarel commented 4 months ago

We can use export_json_schema metho in app/config.py to generate a json schema file.

And then https://github.com/tomcollins/json-schema-static-docs to generate md files from them, that we could include in documentation hierarchy before calling mkdocs.

alexgarel commented 3 months ago

done.

see https://openfoodfacts.github.io/search-a-licious/users/ref-config/