Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PyOTRS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coopdevs
Som Connexió
OTRS
PyOTRS
Commits
65ac399c
Commit
65ac399c
authored
8 years ago
by
Robert Habermann
Browse files
Options
Downloads
Patches
Plain Diff
docs cont.
parent
2155b71c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
README.rst
+16
-6
16 additions, 6 deletions
README.rst
docs/overview.rst
+0
-9
0 additions, 9 deletions
docs/overview.rst
docs/readme.rst
+1
-0
1 addition, 0 deletions
docs/readme.rst
docs_cov_build_deploy.sh
+2
-0
2 additions, 0 deletions
docs_cov_build_deploy.sh
tox.ini
+2
-2
2 additions, 2 deletions
tox.ini
with
21 additions
and
17 deletions
README.rst
+
16
−
6
View file @
65ac399c
...
...
@@ -3,6 +3,14 @@ PyOTRS
[](https://gitlab.denm.de/robbie/PyOTRS/commits/master)
Brief description..
Features
--------
- OTRS REST API for python
Import
------
...
...
@@ -32,12 +40,14 @@ u'Welcome to OTRS!'
>>> my_ticket.to_dct() # Show complete ticket
- add an ``Article`` to ``Ticket`` with ID 1
>>> my_article = Article({"Subject": "Subj", "Body": "New Body"})
>>> client.ticket_update(1, article=my_article)
True
- get Articles and Attachments
>>> client.ticket_get_by_id(1, articles=1, attachments=1) # include Articles and Attachments
>>> my_ticket = client.result_list_ticket_get[0]
...
...
@@ -57,13 +67,13 @@ Useful result data
Tips
----
**ipython**
```
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
```
**ipython**::
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
Full Docs
---------
...
...
This diff is collapsed.
Click to expand it.
docs/overview.rst
deleted
100644 → 0
+
0
−
9
View file @
2155b71c
Overview
========
Brief description..
Features
--------
* OTRS REST API for python
This diff is collapsed.
Click to expand it.
docs/readme.rst
0 → 100644
+
1
−
0
View file @
65ac399c
.. include:: ../README.rst
This diff is collapsed.
Click to expand it.
docs_cov_build_deploy.sh
+
2
−
0
View file @
65ac399c
...
...
@@ -14,3 +14,5 @@ tox -e docs
#sudo cp -a docs/build /var/www/PyOTRS/docs
sudo cp
-a
build/docs /var/www/PyOTRS/docs
# check format (README)
python setup.py check
--strict
--metadata
--restructuredtext
This diff is collapsed.
Click to expand it.
tox.ini
+
2
−
2
View file @
65ac399c
...
...
@@ -92,7 +92,7 @@ deps =
sphinx
sphinxcontrib-napoleon
sphinx_rtd_theme
pygments
commands
=
sphinx-build
-b
html
{toxinidir}/docs/
{toxinidir}/build/docs/
# sphinx-build -b html {toxinidir}/docs/ {toxinidir}/build/docs/
sphinx-build
-b
dirhtml
{toxinidir}/docs/
{toxinidir}/build/docs/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment