File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ name: Generate and deploy documentation
44on :
55 # Runs on pushes targeting the default branch
66 push :
7- branches : ["main", " master", "add-automated-documentation "]
7+ branches : ["master"]
88
99 # Allows you to run this workflow manually from the Actions tab
1010 workflow_dispatch :
@@ -29,11 +29,11 @@ jobs:
2929 url : ${{ steps.deployment.outputs.page_url }}
3030 runs-on : ubuntu-latest
3131 steps :
32- - name : Checkout
33- uses : actions/checkout@v4
32+ - uses : actions/checkout@v6
33+ - run : pip --version
3434 - name : Install dependencies
3535 run : |
36- pip install sphinx furo myst-parser
36+ pip install . --group=docs
3737 - name : Sphinx APIDoc
3838 run : |
3939 sphinx-apidoc -f -o docs/source/ .
4343 - name : Setup Pages
4444 uses : actions/configure-pages@v5
4545 - name : Upload artifact
46- uses : actions/upload-pages-artifact@v3
46+ uses : actions/upload-pages-artifact@v4
4747 with :
4848 # Upload entire repository
4949 path : ' ./docs/build/html'
Original file line number Diff line number Diff line change 1212.idea
1313__pycache__ /
1414.coverage
15+ docs /build
Original file line number Diff line number Diff line change 55
66# -- Project information -----------------------------------------------------
77# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
8- import os
9- import sys
10-
11- # Add the parent directory of the documentation root to sys.path
12- sys .path .insert (0 , os .path .abspath ("../.." ))
138
149project = 'tika-python'
15- copyright = '2024 , Chris A. Mattmann'
10+ copyright = '2026 , Chris A. Mattmann'
1611author = 'Chris A. Mattmann'
1712
1813# -- General configuration ---------------------------------------------------
2621 "sphinx.ext.autosectionlabel" ,
2722 "sphinx.ext.todo" ,
2823 "sphinx.ext.duration" ,
29- "myst_parser"
24+ "myst_parser" ,
3025]
3126
32- templates_path = ['_templates' ]
33- exclude_patterns = ['tika.tests*' ]
34-
35-
27+ exclude_patterns = ['_build' ]
3628
3729# -- Options for HTML output -------------------------------------------------
3830# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
3931
4032html_theme = 'furo'
41- html_static_path = [ '_static' ]
33+
Original file line number Diff line number Diff line change 1+ # Welcome to tika-python's documentation!
2+
3+ ``` {toctree}
4+ :maxdepth: 7
5+ :caption: Contents
6+ readme.md
7+ tika.md
8+ ```
9+
10+ ## Indices and tables
11+
12+ - {ref}` genindex `
13+ - {ref}` modindex `
14+ - {ref}` search `
15+
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -34,15 +34,17 @@ dependencies = [
3434 " requests" ,
3535]
3636
37- [project .optional-dependencies ]
38- all = [
39- " tika[tests]" ,
40- ]
41- tests = [
37+ [dependency-groups ]
38+ test = [
4239 " memory-profiler" ,
4340 " pytest-benchmark" ,
4441 " pytest-cov" ,
4542]
43+ docs = [
44+ " furo" ,
45+ " myst-parser" ,
46+ " sphinx" ,
47+ ]
4648
4749[project .urls ]
4850homepage = " http://github.com/chrismattmann/tika-python"
You can’t perform that action at this time.
0 commit comments