mirror of
1
Fork 0
gotosocial/docs
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
..
admin [docs] move federating with gotosocial documentation into single file (#1494) 2023-02-13 18:34:44 +01:00
api [feature] Use Material theme for docs (#1535) 2023-02-20 23:09:17 +01:00
assets [feature] Use Material theme for docs (#1535) 2023-02-20 23:09:17 +01:00
configuration [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
federation [docs] move federating with gotosocial documentation into single file (#1494) 2023-02-13 18:34:44 +01:00
installation_guide [docs] Fix nginx fileserver caching example (#1506) 2023-02-15 11:44:30 +01:00
user_guide [docs] move federating with gotosocial documentation into single file (#1494) 2023-02-13 18:34:44 +01:00
environment.yml [feature] Use Material theme for docs (#1535) 2023-02-20 23:09:17 +01:00
faq.md [docs] Suggest confirming host option in config (#1502) 2023-02-15 13:04:48 +01:00
index.md [docs] Rewrite sponsorship + funding section, add NLnet (#1305) 2023-01-08 12:37:10 +01:00
requirements.txt [feature] Use Material theme for docs (#1535) 2023-02-20 23:09:17 +01:00
swagger.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00