Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

API documentation overhaul#3078

Merged
dneuman64 merged 106 commits into
apache:masterfrom
ocket8888:Even-more-documentation-updates
Dec 14, 2018
Merged

API documentation overhaul#3078
dneuman64 merged 106 commits into
apache:masterfrom
ocket8888:Even-more-documentation-updates

Conversation

@ocket8888
Copy link
Copy Markdown
Contributor

What does this PR do?

This PR is an overhaul to the way the API documentation is laid out. It gives each unique request path its own page - but only considers request paths unique if they differ after the /api/1.x/ portion. Rather than a new page in every minor API version, the docs will use the versionchanged, versionadded, and deprecated reStructuredText directives to indicate changes between minor versions.
Also, each page follows the same, consistent formatting using proper section headings that allow links to specific parts of specific methods on an endpoint to be "link-able" - as well as the (now fully-HTTP wherever possible) request and response sections.
Grouping of endpoints by function is not currently implemented, but will probably be done when I finally get around to fixing up the index page with an explanation of the new layout.

Which TC components are affected by this PR?

  • Documentation
  • Grove
  • Traffic Analytics
  • Traffic Monitor
  • Traffic Ops
  • Traffic Ops ORT
  • Traffic Portal
  • Traffic Router
  • Traffic Stats
  • Traffic Vault
  • Other _________

What is the best way to verify this PR?

Build the documentation, and evaluate if the new layout is effective.

Check all that apply

  • This PR includes tests
  • This PR includes documentation updates
  • This PR includes an update to CHANGELOG.md
  • This PR includes all required license headers
  • This PR includes a database migration (ensure that migration sequence is correct)
  • This PR fixes a serious security flaw. Read more: www.apache.org/security

@asfgit
Copy link
Copy Markdown
Contributor

asfgit commented Dec 3, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2863/
Test FAILed.

@asfgit
Copy link
Copy Markdown
Contributor

asfgit commented Dec 3, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2864/
Test PASSed.

@mitchell852 mitchell852 added WIP "Work-in-Progress" - do not merge! (use 'draft' pull requests from now on) documentation related to documentation labels Dec 3, 2018
@asfgit
Copy link
Copy Markdown
Contributor

asfgit commented Dec 4, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2879/
Test PASSed.

@asfgit
Copy link
Copy Markdown
Contributor

asfgit commented Dec 4, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2880/
Test FAILed.

@asfgit
Copy link
Copy Markdown
Contributor

asfgit commented Dec 4, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2881/
Test FAILed.

@asfgit
Copy link
Copy Markdown
Contributor

asfgit commented Dec 5, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2882/
Test PASSed.

@asfgit
Copy link
Copy Markdown
Contributor

asfgit commented Dec 5, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2885/
Test FAILed.

@asfgit
Copy link
Copy Markdown
Contributor

asfgit commented Dec 5, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2894/
Test PASSed.

@asfgit
Copy link
Copy Markdown
Contributor

asfgit commented Dec 6, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2898/
Test PASSed.

@asfgit
Copy link
Copy Markdown
Contributor

asfgit commented Dec 7, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2919/
Test PASSed.

@asfgit
Copy link
Copy Markdown
Contributor

asfgit commented Dec 10, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2920/
Test FAILed.

@asfgit
Copy link
Copy Markdown
Contributor

asfgit commented Dec 10, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2921/
Test FAILed.

@ocket8888 ocket8888 force-pushed the Even-more-documentation-updates branch 2 times, most recently from bcafca7 to f815175 Compare December 10, 2018 18:36
@asfgit
Copy link
Copy Markdown
Contributor

asfgit commented Dec 10, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2922/
Test PASSed.

@asfgit
Copy link
Copy Markdown
Contributor

asfgit commented Dec 10, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2923/
Test PASSed.

@asfgit
Copy link
Copy Markdown
Contributor

asfgit commented Dec 10, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2925/
Test PASSed.

@ocket8888 ocket8888 force-pushed the Even-more-documentation-updates branch from 92440e9 to e787e23 Compare December 11, 2018 14:45
@asfgit
Copy link
Copy Markdown
Contributor

asfgit commented Dec 11, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2929/
Test PASSed.

@ocket8888 ocket8888 force-pushed the Even-more-documentation-updates branch from e787e23 to 5693792 Compare December 11, 2018 17:13
@asfgit
Copy link
Copy Markdown
Contributor

asfgit commented Dec 11, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2931/
Test PASSed.

@ocket8888 ocket8888 force-pushed the Even-more-documentation-updates branch from 5693792 to 4238e01 Compare December 11, 2018 21:49
@asfgit
Copy link
Copy Markdown
Contributor

asfgit commented Dec 11, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2936/
Test PASSed.

@asfgit
Copy link
Copy Markdown
Contributor

asfgit commented Dec 12, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2938/
Test PASSed.

@ocket8888 ocket8888 force-pushed the Even-more-documentation-updates branch from dfa8bd5 to 932ee5c Compare December 12, 2018 22:33
@asfgit
Copy link
Copy Markdown
Contributor

asfgit commented Dec 12, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2940/
Test PASSed.

@asfgit
Copy link
Copy Markdown
Contributor

asfgit commented Dec 13, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2941/
Test PASSed.

@ocket8888 ocket8888 force-pushed the Even-more-documentation-updates branch from 79814a8 to 5006afa Compare December 13, 2018 23:10
@ocket8888 ocket8888 changed the title WIP - API documentation overhaul API documentation overhaul Dec 13, 2018
@asfgit
Copy link
Copy Markdown
Contributor

asfgit commented Dec 13, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/trafficcontrol-PR/2943/
Test PASSed.

@mitchell852 mitchell852 removed the WIP "Work-in-Progress" - do not merge! (use 'draft' pull requests from now on) label Dec 14, 2018
@ocket8888 ocket8888 mentioned this pull request Dec 14, 2018
17 tasks
@dneuman64 dneuman64 merged commit 5bf0792 into apache:master Dec 14, 2018
@ocket8888 ocket8888 deleted the Even-more-documentation-updates branch December 17, 2018 14:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

documentation related to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants