GoToSocial/docs/api
Daenney 40eea3b409
[feature] Use Material theme for docs (#1535)
* [feature] Use Material theme for docs

This changes the theme to use Material with the slate (dark) theme and
the accent colour set to orange. It also replaces the swagger plugin
with one that works correctly with the Material theming.

* Add theme by @f0x52

Co-authored-by: f0x52 <f0x@cthu.lu>

* Enable social cards

The dependencies for cairosvg and pillow can be satisfied on RTD, so
this adds them to our requirements.txt and enables the social plugin.
This generates opengraph and twitter card tags as well as fancy preview
images in GTS colour style for platforms that show that as part of link
previews.

* Update Conda environment.yml

* update theme for swagger, basic light theme option

* dark mode mobile header bg color

---------

Co-authored-by: f0x52 <f0x@cthu.lu>
2023-02-20 23:09:17 +01:00
..
ratelimiting.md [feature] HTTP request throttling middleware (#1297) 2023-01-04 11:57:59 +01:00
swagger.md [feature] Use Material theme for docs (#1535) 2023-02-20 23:09:17 +01:00
swagger.yaml [docs] correct swagger docs (#1543) 2023-02-20 17:06:36 +01:00
throttling.md [feature] HTTP request throttling middleware (#1297) 2023-01-04 11:57:59 +01:00