docs-v2/layouts/_default
Jason Stirnaman 6df73de175 To build the API pages, run `yarn run build-apidocs` from the project directory.
No longer uses Hugo /data.
Removes dependency on the Hugo-data-to-pages script.
For each product endpoint, generate a page with the endpoint spec inside the frontmatter.
Writes endpoint specs into each page's frontmatter.
Assign a `type` property for API reference (OpenAPI) paths. For example, if the page structure is `content/influxdb/v2/api/v2/[OpenAPI path]`, then add `type: api_path` to the frontmatter and, if necessary, specify a layout: `layout: api_path`.
Renders the spec param JSON using Rapidoc.

TODO:
- Cleanup
- Create additional templates that process page data for nav, filtering, links, code samples, etc.
- Fix circular reference issues in specs that prevent generating a dereferenced JSON bundle (which could also help us our own custom UI...should we choose).
2025-03-04 17:08:33 -06:00
..
_markup Add support for GitHub style alerts (#5667) 2024-11-07 14:54:01 -07:00
landing-influxdb.html Version restructure (#5133) 2023-09-12 23:33:31 -06:00
list.html Algolia search modifications (#3522) 2021-12-23 09:49:35 -07:00
page-list.json add JSON page lists for use in the v3 UI (#5363) 2024-03-14 09:32:04 -06:00
section.html Algolia search modifications (#3522) 2021-12-23 09:49:35 -07:00
single.html Algolia search modifications (#3522) 2021-12-23 09:49:35 -07:00
tags-landing.html Algolia search modifications (#3522) 2021-12-23 09:49:35 -07:00