Skip to content

Commit

Permalink
build: add better indexing (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
kryskool committed May 1, 2024
1 parent 60244cb commit a38906e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
- name: "Set up Python"
uses: actions/setup-python@v1
with:
python-version: 3.9
python-version: 3.11

- name: "Install Python dependencies"
run: |
pip3 install pipenv
pipenv install --python 3.9
pipenv install --python 3.11 -r requirements.txt
- name: "Build Sphinx Doc"
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install dependencies
run: |
pip3 install pipenv
pipenv install --python ${{ matrix.python-version }}
pipenv install --python ${{ matrix.python-version }} -r requirements.txt
- name: Generate HTML page
run: |
pipenv run make html
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ Sphinx==7.3.7
sphinx-autobuild==2024.4.16
sphinx-sitemap==2.6.0
furo==2024.4.27
sphinxcontrib-googleanalytics==0.4
10 changes: 8 additions & 2 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ['sphinx_sitemap', 'sphinx.ext.githubpages']
extensions = [
'sphinx_sitemap',
'sphinx.ext.githubpages',
'sphinxcontrib.googleanalytics'
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand Down Expand Up @@ -371,4 +375,6 @@
sitemap_excludes = [
"search.html",
"genindex.html",
]
]

googleanalytics_id="GTM-MHD7527M"
2 changes: 1 addition & 1 deletion source/programmation/c.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Bibliothèque libpq

.. index:: libpq

La bibliothèque pour le language C se nomme `libpq <https://doc.postgresql.fr/16/libpq.html>`_ .
La bibliothèque pour le language C se nomme `libpq <https://docs.postgresql.fr/current/libpq.html>`_ .

D'autres langages de programmation on également leur bibliothèque mais les principales s'appuie sur la libpq

Expand Down

0 comments on commit a38906e

Please sign in to comment.