Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: MI-FraunhoferIWM/dsms-python-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.1
Choose a base ref
...
head repository: MI-FraunhoferIWM/dsms-python-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Feb 27, 2024

  1. Copy the full SHA
    8e0e932 View commit details

Commits on Feb 29, 2024

  1. Copy the full SHA
    e959568 View commit details
  2. Copy the full SHA
    8aaf28f View commit details
  3. debug hdf5 for kitems

    MBueschelberger committed Feb 29, 2024
    Copy the full SHA
    7cd0bde View commit details
  4. fix pytests

    MBueschelberger committed Feb 29, 2024
    Copy the full SHA
    30cd816 View commit details

Commits on Mar 1, 2024

  1. Copy the full SHA
    4dc0469 View commit details
  2. update docstring

    MBueschelberger committed Mar 1, 2024
    Copy the full SHA
    27c6cb3 View commit details
  3. Copy the full SHA
    10edf40 View commit details
  4. Copy the full SHA
    bffb20b View commit details
  5. Copy the full SHA
    378762b View commit details
  6. Copy the full SHA
    dd51946 View commit details

Commits on Mar 4, 2024

  1. Copy the full SHA
    c6f6efc View commit details

Commits on Mar 5, 2024

  1. Copy the full SHA
    5cc3fb3 View commit details
  2. Copy the full SHA
    9f1b4f9 View commit details
  3. Merge pull request #5 from MI-FraunhoferIWM/fix/trigger-app

    update additional property fields for kitem apps
    MBueschelberger authored Mar 5, 2024
    Copy the full SHA
    df795ba View commit details
  4. update hdf5 deletion

    MBueschelberger committed Mar 5, 2024
    Copy the full SHA
    4a5993a View commit details
  5. Copy the full SHA
    f4aef2e View commit details
  6. Copy the full SHA
    c5b1e87 View commit details
  7. update setup.cfg

    MBueschelberger committed Mar 5, 2024
    Copy the full SHA
    1301ef9 View commit details
  8. Copy the full SHA
    5203eb8 View commit details

Commits on Mar 6, 2024

  1. Copy the full SHA
    d4b0ddb View commit details
  2. upgrade pandas

    MBueschelberger committed Mar 6, 2024
    Copy the full SHA
    eaffa21 View commit details
  3. Copy the full SHA
    70e56f0 View commit details
  4. Copy the full SHA
    f6b740f View commit details

Commits on Mar 22, 2024

  1. Copy the full SHA
    94b0a08 View commit details
  2. Merge pull request #8 from MI-FraunhoferIWM/fix/order-of-committing

    hotfix: change order of contents to be pushed to the dsms when commited
    MBueschelberger authored Mar 22, 2024
    Copy the full SHA
    f2ca394 View commit details
  3. Copy the full SHA
    d924de3 View commit details

Commits on Mar 28, 2024

  1. fix file handler

    MBueschelberger committed Mar 28, 2024
    Copy the full SHA
    b52b8ca View commit details
  2. Copy the full SHA
    0cbb7c4 View commit details
  3. Copy the full SHA
    1af47dd View commit details

Commits on Apr 3, 2024

  1. Copy the full SHA
    dde4686 View commit details

Commits on Apr 4, 2024

  1. Merge pull request #11 from MI-FraunhoferIWM/fix/rdflib-subgraph

    fix subgraph retrieval
    MBueschelberger authored Apr 4, 2024
    Copy the full SHA
    b943491 View commit details
  2. Copy the full SHA
    f7d0d5e View commit details

Commits on Apr 12, 2024

  1. hotfix: ssl verify for user service did not work, loose restrictions …

    …for slugs, make dsms host verification optional
    MBueschelberger committed Apr 12, 2024
    Copy the full SHA
    176cf71 View commit details
  2. Copy the full SHA
    8036635 View commit details
  3. Copy the full SHA
    1baf6ed View commit details
  4. Copy the full SHA
    2c3ec11 View commit details

Commits on Aug 20, 2024

  1. v2.0.0 (#12)

    * add unit conversion/fetching utility
    * add unit conversion/fetching to dataframe columns
    * add unit conversion/fetching to custom properties, generally update the pydantic model
    * add semantics module for exchangable semantic queries via config
    * add option to directly source .env file via python dotenv
    * add unit tests
    * add updating of avatar
    * fix problems in commiting linked kitems 
    * add running apps on demand
    * add interaction with app configs
    * add docs
    * add logging levels
    * add avatar interaction
    * add functionality to add attachment content from memory
    * remove side effects of KProperties when added, updated, deleted, retrieved.
    * update pydantic models for linked kitems
    
    ---------
    
    Co-authored-by: Priyabrat Mishra <priyabrat.misra@gmail.com>
    MBueschelberger and PBMISRA95 authored Aug 20, 2024
    Copy the full SHA
    df86a8c View commit details
  2. Copy the full SHA
    b293580 View commit details
  3. Copy the full SHA
    e2e6692 View commit details
  4. Copy the full SHA
    af75773 View commit details

Commits on Aug 23, 2024

  1. add functionality to get linked kitems by annotation, update docs (#31)

    * add functionality to get linked kitems by annotation, update docs
    
    * add retrieval of linked kitems per ktype and debug kitem check of ktype
    MBueschelberger authored Aug 23, 2024
    Copy the full SHA
    f5e8b77 View commit details
  2. Copy the full SHA
    f04f6f0 View commit details

Commits on Sep 6, 2024

  1. Env/sdk parameters (#32)

    modify flag for app config and argo job
    MBueschelberger authored Sep 6, 2024
    Copy the full SHA
    35b2090 View commit details
  2. Copy the full SHA
    8df3a1e View commit details

Commits on Sep 13, 2024

  1. fix verify ssl (#33)

    MBueschelberger authored Sep 13, 2024
    Copy the full SHA
    3182c56 View commit details
  2. Copy the full SHA
    f6e1020 View commit details

Commits on Jan 20, 2025

  1. Dev/platform v3.0.0 (#43)

    *  support write-functionalities in KType
    *  support new webform and custom properties in platform version 3.0.0
    *  remove old custom property validation again new webform schema
    *  update docs for KTypes
    *  improve pretty printing
    *  make upper restriction for pydantic
    *  set max length of string-field names
    *  add schema transformation function for backwards compability
    *  add compability matrix
    *  change context variable to session variable
    *  remove 'NumericalDatatype' for unit conversion, make it compatiable with new webform version
    *  add function to reorganize custom properties on demand
    *  add pagination for kitem list and search
    *  add validation of kitems in the custom property fields of type kitem
    *  remove unneeded pytests
    *  move cls of properties to self globally
    *  make ktype_id strictly a str
    *  update README
    ---------
    
    Co-authored-by: Arjun Gopalakrishnan <arjun.gopalakrishnan@iwm.fraunhofer.de>
    MBueschelberger and Arjun Gopalakrishnan authored Jan 20, 2025
    Copy the full SHA
    fee8164 View commit details

Commits on Jan 28, 2025

  1. v3.0.1 (#45)

    * fix broken link to tutorials in doc-index
    * add debug message for the incoming responses from requests
    * fix problem with missing offset in _search-function call of DSMS.search-method
    * Rerun notebooks for search tutorial
    MBueschelberger authored Jan 28, 2025
    Copy the full SHA
    453cb30 View commit details
  2. Copy the full SHA
    481c4e2 View commit details
Showing with 11,355 additions and 3,586 deletions.
  1. +1 −1 .github/workflows/ci.yml
  2. +2 −2 .github/workflows/release.yml
  3. +6 −0 .gitignore
  4. +1 −1 .pre-commit-config.yaml
  5. +4 −0 .pylintrc
  6. +24 −0 .readthedocs.yml
  7. +23 −0 Dockerfile.docs
  8. +61 −9 README.md
  9. +153 −0 docs/Makefile
  10. +65 −0 docs/README.md
  11. +5 −0 docs/_static/custom.css
  12. BIN docs/assets/images/DSMS.jpg
  13. BIN docs/assets/images/DSMS_Mod.jpg
  14. BIN docs/assets/images/DSMS_SDK.jpg
  15. BIN docs/assets/images/DSMS_logo.png
  16. BIN docs/assets/images/UML_KItem_schema.jpg
  17. BIN docs/assets/images/copy_token_1.jpg
  18. BIN docs/assets/images/copy_token_2.jpg
  19. BIN docs/assets/images/copy_token_3.jpg
  20. BIN docs/assets/images/copy_token_4.jpg
  21. BIN docs/assets/images/copy_token_5.jpg
  22. +102 −0 docs/conf.py
  23. +31 −0 docs/dsms.md
  24. +58 −0 docs/dsms_sdk/dsms_config_schema.md
  25. +272 −0 docs/dsms_sdk/dsms_kitem_schema.md
  26. +162 −0 docs/dsms_sdk/dsms_sdk.md
  27. +518 −0 docs/dsms_sdk/tutorials/1_introduction.ipynb
  28. +542 −0 docs/dsms_sdk/tutorials/2_creation.ipynb
  29. +367 −0 docs/dsms_sdk/tutorials/3_updation.ipynb
  30. +318 −0 docs/dsms_sdk/tutorials/4_deletion.ipynb
  31. +1,699 −0 docs/dsms_sdk/tutorials/5_search.ipynb
  32. +1,130 −0 docs/dsms_sdk/tutorials/6_apps.ipynb
  33. +724 −0 docs/dsms_sdk/tutorials/7_ktypes.ipynb
  34. +1 −0 docs/dsms_sdk/tutorials/testfile.txt
  35. +74 −0 docs/index.md
  36. +35 −0 docs/make.bat
  37. +3 −2 dsms/__init__.py
  38. +2 −2 dsms/apps/__init__.py
  39. +0 −34 dsms/apps/apps.py
  40. +193 −0 dsms/apps/config.py
  41. +23 −7 dsms/apps/utils.py
  42. +2 −2 dsms/core/__init__.py
  43. +165 −8 dsms/core/configuration.py
  44. +150 −57 dsms/core/dsms.py
  45. +9 −0 dsms/core/logging.py
  46. +2 −2 dsms/core/{context.py → session.py}
  47. +71 −11 dsms/core/utils.py
  48. +23 −0 dsms/knowledge/cli.py
  49. +333 −97 dsms/knowledge/kitem.py
  50. +116 −22 dsms/knowledge/ktype.py
  51. +10 −5 dsms/knowledge/properties/__init__.py
  52. +18 −24 dsms/knowledge/properties/affiliations.py
  53. +27 −27 dsms/knowledge/properties/annotations.py
  54. +166 −32 dsms/knowledge/properties/apps.py
  55. +85 −27 dsms/knowledge/properties/attachments.py
  56. +30 −26 dsms/knowledge/properties/authors.py
  57. +37 −0 dsms/knowledge/properties/avatar.py
  58. +152 −126 dsms/knowledge/properties/base.py
  59. +14 −23 dsms/knowledge/properties/contacts.py
  60. +0 −125 dsms/knowledge/properties/custom_properties.py
  61. +126 −0 dsms/knowledge/properties/dataframe.py
  62. +41 −26 dsms/knowledge/properties/external_links.py
  63. +220 −80 dsms/knowledge/properties/linked_kitems.py
  64. +20 −22 dsms/knowledge/properties/summary.py
  65. +20 −26 dsms/knowledge/properties/user_groups.py
  66. +10 −0 dsms/knowledge/properties/utils.py
  67. +136 −0 dsms/knowledge/search.py
  68. +1 −0 dsms/knowledge/semantics/__init__.py
  69. +5 −0 dsms/knowledge/semantics/queries/__init__.py
  70. +76 −0 dsms/knowledge/semantics/queries/base.py
  71. +5 −0 dsms/knowledge/semantics/units/__init__.py
  72. +37 −0 dsms/knowledge/semantics/units/base.py
  73. +140 −0 dsms/knowledge/semantics/units/conversion.py
  74. +58 −0 dsms/knowledge/semantics/units/sparql.py
  75. +130 −0 dsms/knowledge/semantics/units/utils.py
  76. +25 −7 dsms/knowledge/sparql_interface/sparql_interface.py
  77. +45 −0 dsms/knowledge/sparql_interface/subgraph.py
  78. +72 −39 dsms/knowledge/sparql_interface/utils.py
  79. +838 −100 dsms/knowledge/utils.py
  80. +1,039 −0 dsms/knowledge/webform.py
  81. +0 −2,532 examples/basic_usage.ipynb
  82. +30 −5 setup.cfg
  83. +129 −18 tests/conftest.py
  84. +40 −29 tests/test_kitem.py
  85. +103 −30 tests/test_utils.py
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']

steps:

4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ jobs:
--outdir dist/
- name: Upload distribution artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: release
path: dist/
@@ -46,7 +46,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
name: Download distribution artifact
with:
name: release
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -158,3 +158,9 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

.vscode/
examples/basic_usage.ipynb

#Test files
test.py
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ repos:
rev: 6.0.0
hooks:
- id: flake8
args: [--count, --show-source, --statistics, '--ignore', 'E501,E203,W503']
args: [--count, --show-source, --statistics, '--ignore', 'E501,E203,W503,E201,E202,E221,E222,E231,E241,E271,E272,E702,E713']
# additional_dependencies: [flake8-bugbear==21.3.1, pep8-naming]
log_file: flake8.log

4 changes: 4 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -76,6 +76,10 @@ disable= no-name-in-module,
dangerous-default-value,
too-many-public-methods,
too-many-locals,
no-value-for-parameter,
too-many-branches,
too-many-lines,
too-many-statements,



24 changes: 24 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

sphinx:
configuration: docs/conf.py

formats:
- pdf
- epub

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

python:
install:
- method: pip
path: .
extra_requirements:
- docs
23 changes: 23 additions & 0 deletions Dockerfile.docs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM python:3.10-buster

RUN apt-get update && apt-get install -y \
pandoc default-jre graphviz \
texlive-latex-recommended \
texlive-latex-extra \
texlive-fonts-recommended \
latexmk

WORKDIR /app
COPY . .

RUN python -m pip install --upgrade pip

RUN python -m pip install -e .[docs] --no-cache

CMD sphinx-autobuild --host 0.0.0.0 docs/ docs/_build/html

# Build:
# $ docker build -f Dockerfile.docs -t dsms-sdk-docs .

# Run:
# $ docker run -it --rm -v $PWD:/app -p 8000:8000 dsms-sdk-docs
70 changes: 61 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
# DSMS-SDK
Python SDK core-package for interacting with the Dataspace Management System (DSMS)

## Installation

## Authors

[Matthias Büschelberger](mailto:matthias.bueschelberger@iwm.fraunhofer.de) (Fraunhofer Institute for Mechanics of Materials IWM)

[Yoav Nahshon](mailto:yoav.nahshon@iwm.fraunhofer.de) (Fraunhofer Institute for Mechanics of Materials IWM)
### From PyPI

[Pablo De Andres](mailto:pablo.de.andres@iwm.fraunhofer.de) (Fraunhofer Institute for Mechanics of Materials IWM)
```{python}
pip install dsms-sdk
```

## License
## From source

This project is licensed under the BSD 3-Clause. See the LICENSE file for more information.
```{bash}
git clone git@github.com:MI-FraunhoferIWM/dsms-python-sdk.git
cd dsms-python-sdk
pip install -e .
```

## Usage

@@ -28,7 +31,56 @@ The SDK provides a general Python interface to a remote DSMS deployment, allowin
- Performing simple file upload and download using attachments to KItems
- Export of a knowledge (sub) graph as common serializations (.ttl, .json)

For the basic usage, please have a look on the Jupyter Notebook under `examples/basic_usage.ipynb`. This tutorial provides a basic overview of using the dsms package to interact with Knowledge Items.

## Documentation

Please have a look at our documentation on _readthedocs_:
https://dsms-python-sdk.readthedocs.io

## Compatibility

Please take the compability of the SDK version with the DSMS version into account:

| SDK Version | DSMS Version |
| --- | --- |
| <2.0.0 | <2.0.0 |
| >=2.0.0, <3.0.0 | >=2.0.0, <3.0.0 |
| >=3.0.0 | >=3.0.0 |

## Tutorials

Please have a look at our tutorials on _readthedocs_:
* [1. Introduction](https://dsms-python-sdk.readthedocs.io/en/latest/dsms_sdk/tutorials/1_introduction.html)
* [2. Creation](https://dsms-python-sdk.readthedocs.io/en/latest/dsms_sdk/tutorials/2_creation.html)
* [3. Updation](https://dsms-python-sdk.readthedocs.io/en/latest/dsms_sdk/tutorials/3_updation.html)
* [4. Deletion](https://dsms-python-sdk.readthedocs.io/en/latest/dsms_sdk/tutorials/4_deletion.html)
* [5. Search](https://dsms-python-sdk.readthedocs.io/en/latest/dsms_sdk/tutorials/5_search.html)
* [6. Apps](https://dsms-python-sdk.readthedocs.io/en/latest/dsms_sdk/tutorials/6_apps.html)

Or try our Jupyter Notebooks:
* [1. Introduction](docs/dsms_sdk/tutorials/1_introduction.ipynb)
* [2. Creation](docs/dsms_sdk/tutorials/2_creation.ipynb)
* [3. Updation](docs/dsms_sdk/tutorials/3_updation.ipynb)
* [4. Deletion](docs/dsms_sdk/tutorials/4_deletion.ipynb)
* [5. Search](docs/dsms_sdk/tutorials/5_search.ipynb)
* [6. Apps](docs/dsms_sdk/tutorials/6_apps.ipynb)
* [7. KTypes](docs/dsms_sdk/tutorials/7_ktypes.ipynb)

## Authors

[Matthias Büschelberger](mailto:matthias.bueschelberger@iwm.fraunhofer.de) (Fraunhofer Institute for Mechanics of Materials IWM)

[Yoav Nahshon](mailto:yoav.nahshon@iwm.fraunhofer.de) (Fraunhofer Institute for Mechanics of Materials IWM)

[Pablo De Andres](mailto:pablo.de.andres@iwm.fraunhofer.de) (Fraunhofer Institute for Mechanics of Materials IWM)

[Priyabrat Mishra](mailto:priyabrat.mishra@iwm.fraunhofer.de) (Fraunhofer Institute for Mechanics of Materials IWM)

[Arjun Gopalakrishnan](mailto:arjun.gopalakrishnan@iwm.fraunhofer.de) (Fraunhofer Institute for Mechanics of Materials IWM)

## License

This project is licensed under the BSD 3-Clause. See the LICENSE file for more information.


## Disclaimer
153 changes: 153 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
# Makefile for Sphinx documentation
#

# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
PAPER =
BUILDDIR = _build

# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
# the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .

.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext

help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " html to make standalone HTML files"
@echo " dirhtml to make HTML files named index.html in directories"
@echo " singlehtml to make a single large HTML file"
@echo " pickle to make pickle files"
@echo " json to make JSON files"
@echo " htmlhelp to make HTML files and a HTML help project"
@echo " qthelp to make HTML files and a qthelp project"
@echo " devhelp to make HTML files and a Devhelp project"
@echo " epub to make an epub"
@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
@echo " latexpdf to make LaTeX files and run them through pdflatex"
@echo " text to make text files"
@echo " man to make manual pages"
@echo " texinfo to make Texinfo files"
@echo " info to make Texinfo files and run them through makeinfo"
@echo " gettext to make PO message catalogs"
@echo " changes to make an overview of all changed/added/deprecated items"
@echo " linkcheck to check all external links for integrity"
@echo " doctest to run all doctests embedded in the documentation (if enabled)"

clean:
-rm -rf $(BUILDDIR)/*

html:
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."

dirhtml:
$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."

singlehtml:
$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
@echo
@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."

pickle:
$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
@echo
@echo "Build finished; now you can process the pickle files."

json:
$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
@echo
@echo "Build finished; now you can process the JSON files."

htmlhelp:
$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
@echo
@echo "Build finished; now you can run HTML Help Workshop with the" \
".hhp project file in $(BUILDDIR)/htmlhelp."

qthelp:
$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
@echo
@echo "Build finished; now you can run "qcollectiongenerator" with the" \
".qhcp project file in $(BUILDDIR)/qthelp, like this:"
@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/AWSSDKforPHP.qhcp"
@echo "To view the help file:"
@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/AWSSDKforPHP.qhc"

devhelp:
$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
@echo
@echo "Build finished."
@echo "To view the help file:"
@echo "# mkdir -p $$HOME/.local/share/devhelp/AWSSDKforPHP"
@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/AWSSDKforPHP"
@echo "# devhelp"

epub:
$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
@echo
@echo "Build finished. The epub file is in $(BUILDDIR)/epub."

latex:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo
@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
@echo "Run \`make' in that directory to run these through (pdf)latex" \
"(use \`make latexpdf' here to do that automatically)."

latexpdf:
$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
@echo "Running LaTeX files through pdflatex..."
$(MAKE) -C $(BUILDDIR)/latex all-pdf
@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."

text:
$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
@echo
@echo "Build finished. The text files are in $(BUILDDIR)/text."

man:
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
@echo
@echo "Build finished. The manual pages are in $(BUILDDIR)/man."

texinfo:
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
@echo
@echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
@echo "Run \`make' in that directory to run these through makeinfo" \
"(use \`make info' here to do that automatically)."

info:
$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
@echo "Running Texinfo files through makeinfo..."
make -C $(BUILDDIR)/texinfo info
@echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."

gettext:
$(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
@echo
@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."

changes:
$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
@echo
@echo "The overview file is in $(BUILDDIR)/changes."

linkcheck:
$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
@echo
@echo "Link check complete; look for any errors in the above output " \
"or in $(BUILDDIR)/linkcheck/output.txt."

doctest:
$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
@echo "Testing of doctests in the sources finished, look at the " \
"results in $(BUILDDIR)/doctest/output.txt."
Loading