PMA-2020 / pma-api

The best way to programmatically access PMA2020 data.
http://api.pma2020.org
MIT License
1 stars 3 forks source link

General-purpose documentation (Swagger / Sphinx / Readthedocs, etc) #4

Closed joeflack4 closed 6 years ago

joeflack4 commented 6 years ago

Individual Steps

1. Decide on implementation

Options

2. Create docs

2.1 Migrate existing documentation from GitHub readme

2.2 Add new documentation

2.5 Optional: Add Open API / Swagger docs

2.5.1 Add Swagger docs

2.5.2 Add a page that links to Swagger docs from main docs

3. Host docs

3.1 Host locally (vs separate deployment

3.2 Set endpoint (/docs, /v1/docs, docs/v1 /)

3.3 Disambiguate from RESTful web service (/rest, /v1/rest, rest/v1)

4. Set up process to update docs as new releases are made

4.1 Automatic swagger updates

4.2 Sync updates between general implementation and readme

5. Optional Bonus steps

5.1 Searchability

If you want full support for searching inside your Read the Docs site you will need to install Elasticsearch.

5.2 Mimetype routing

Route the request to /docs or /rest depending on mimetype.

Task List

joeflack4 commented 6 years ago

Finished.