Skip to content

Commit

Permalink
Fix docs generation by upgrading Sphinx.
Browse files Browse the repository at this point in the history
Add sponsor to dev docs and readme.
  • Loading branch information
jcbrand committed Sep 11, 2024
1 parent e542b55 commit fcd3c86
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,9 @@ test:

.PHONY: docsdev
docsdev: ./bin/activate requirements.txt
./bin/pip install --upgrade pip==21.3.1
./bin/pip install -r requirements.txt
./bin/python -m ensurepip --upgrade
./bin/python -m pip install --upgrade setuptools
./bin/pip3 install -r requirements.txt

.PHONY: html
html: doc
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,11 @@ We accept donations via [Patreon](https://www.patreon.com/jcbrand) and [Liberapa

## Sponsors

<p>
<a href="https://www.dotcom-monitor.com/sponsoring-open-source-projects/?utm_source=conversejs" target="_blank" rel="noopener">
<img alt="Dotcom-Monitor" src="https://raw.githubusercontent.com/conversejs/media/logos/dotcom-monitor.svg" width="200">
</a>
</p>
<p>
<a href="https://bairesdev.com/sponsoring-open-source-projects/?utm_source=conversejs" target="_blank" rel="noopener">
<img alt="BairesDev" src="https://raw.githubusercontent.com/conversejs/media/main/logos/bairesdev-primary.png" width="200">
Expand Down
4 changes: 4 additions & 0 deletions docs/source/_templates/sponsors.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
<h4 class="sidebar-title">Sponsored by</h4>
</span>
<ul class="sponsors-list">
<li><a href="https://www.dotcom-monitor.com/sponsoring-open-source-projects/?utm_source=conversejs" target="_blank" rel="noopener">
<img style="width: 10em" src="/media/logos/dotcom-monitor.svg" alt="Dotcom-Monitor">
</a>
</li>
<li><a href="https://bairesdev.com/sponsoring-open-source-projects/?utm_source=conversejs" target="_blank" rel="noopener">
<img style="width: 10em" src="/media/logos/bairesdev-primary.png" alt="BairesDev">
</a>
Expand Down
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,9 @@ <h2>Converse is supported by:</h2>

<p class="sponsors-text">Converse is a software commons, available at no cost to you or anyone else.
Sponsorships allow us to fund further development and improvements.
If you'd like to sponsor this project, please visit <a href="https://www.patreon.com/jcbrand" target="_blank" rel="noopener">Patreon</a>,
If you'd like to sponsor this project, please visit
<a href="https://github.com/sponsors/jcbrand" target="_blank" rel="noopener">Github</a>,
<a href="https://www.patreon.com/jcbrand" target="_blank" rel="noopener">Patreon</a>,
<a href="https://liberapay.com/jcbrand" target="_blank" rel="noopener">Liberapay</a> or
<a href="https://opkode.com/contact.html" target="_blank" rel="noopener">contact us</a>.
</p>
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
Sphinx==4.5.0
docutils==0.17.1
Sphinx==8.0.2
sphinx-bootstrap-theme==0.8.1

0 comments on commit fcd3c86

Please sign in to comment.