Skip to content

Commit

Permalink
chore: update docs for shibuya theme
Browse files Browse the repository at this point in the history
  • Loading branch information
lepture committed Jun 25, 2023
1 parent dd78bbe commit b9f5224
Show file tree
Hide file tree
Showing 21 changed files with 217 additions and 289 deletions.
13 changes: 13 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2

build:
os: ubuntu-22.04
tools:
python: "3.11"

sphinx:
configuration: docs/conf.py

python:
install:
- requirements: docs/requirements.txt
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ clean-docs:
clean-tox:
@rm -rf .tox/

docs:
@$(MAKE) -C docs html
build-docs:
@sphinx-build docs build/_html -a
36 changes: 36 additions & 0 deletions docs/_static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
:root {
--syntax-light-pre-bg: #e8f3ff;
--syntax-light-cap-bg: #d6e7fb;
--syntax-dark-pre-bg: #1a2b3e;
--syntax-dark-cap-bg: #223e5e;
}

.site-sponsors {
margin-bottom: 2rem;
}

.site-sponsors > .sponsor {
display: flex;
align-items: center;
background: var(--sy-c-bg-weak);
border-radius: 6px;
padding: 0.5rem;
margin-bottom: 0.5rem;
}

.site-sponsors .image {
flex-shrink: 0;
display: block;
width: 32px;
margin-right: 0.8rem;
}

.site-sponsors .text {
font-size: 0.86rem;
line-height: 1.2;
}

.site-sponsors .text a {
color: var(--sy-c-link);
border-color: var(--sy-c-link);
}
1 change: 1 addition & 0 deletions docs/_static/dark-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/_static/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions docs/_static/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/_static/light-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
77 changes: 0 additions & 77 deletions docs/_static/sponsors.css

This file was deleted.

42 changes: 0 additions & 42 deletions docs/_static/sponsors.js

This file was deleted.

11 changes: 11 additions & 0 deletions docs/_templates/partials/globaltoc-above.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<div class="site-sponsors">
<div class="sponsor">
<a class="image" href="https://authlib.org/plans?utm_source=docs"><img src="https://authlib.org/assets/logo-blue.svg" alt="Authlib"></a>
<div class="text">Get a commercial license at <a href="https://authlib.org/plans?utm_source=docs">authlib.org</a></div>
</div>
<div class="sponsor">
<a class="image" href="https://auth0.com/overview?utm_source=authlib&utm_medium=devsponsor&utm_campaign=authlib"><img src="https://user-images.githubusercontent.com/290496/39297078-89d00928-497d-11e8-8119-0c53afe14cd0.png" alt="Sponsor"></a>
<div class="text">The new way to solve Identity. Sponsored by <a href="https://auth0.com/overview?utm_source=authlib&utm_medium=devsponsor&utm_campaign=authlib">auth0.com</a></div>
</div>
</div>
<div class="js-carbon" data-carbon-code="CE7DKK3W" data-carbon-placement="authliborg"></div>
Loading

0 comments on commit b9f5224

Please sign in to comment.