40 Commits

Author SHA1 Message Date
zhaoleilc
2402013a87 Correct a typo in the document
This patch changes 'contex' to 'context'
in doc/source/specification/resources.rst

Change-Id: I8c56dfa869cbc1176b18de76212c143b161a3d5b
2020-07-10 14:24:36 +08:00
Andreas Jaeger
9de5c99ccd Switch to newer openstackdocstheme version
Switch to openstackdocstheme 2.2.1 version. Using
this version will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: I6c6775f75235dab2b9ed7820bfc5102bf5b04965
2020-05-30 18:33:32 +02:00
pengyuesheng
91073f4ea1 Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.

Change-Id: Ibc5757b36d6a5b8c342d959087136064ed5ab6f5
2020-02-10 16:48:12 +01:00
pengyuesheng
939253044a Drop python 2.7 support and testing
Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Include small cleanups:
* remove install_command from tox.ini, this is the default
* Use sphinx-build as modern way to run sphinx, remove setup.cfg
  settings for build-sphinx
* Use sphinxcontrib-apidoc for docs with newer sphinx
* Remove obsolete doc/source/conf.py broken
* Add python-requires to setup.cfg to make Python 3.6 requirement
  explicit
* Remove obsolete pbr setup-hooks

Co-Authored-By: Andreas Jaeger <aj@suse.com>
Change-Id: Iec8c47b82022b616b8361651bf23f853b0ce5624
2020-02-03 14:45:41 +01:00
Colleen Murphy
ab2eb59068 Removes temporary fix for doc generation
A temporary fix was added to get around a bug in how pbr handles
its autodoc_tree_index_modules setting. Since this bug is fixed we no
longer need the work around.

This change is needed since the workaround is now incompatible with the
latest version of Sphinx.

See also[1][2].

[1] https://review.opendev.org/191633
[2] https://review.opendev.org/121667

Change-Id: Idf9dc73d99b4233f49effe24aa047959b1a2ef2c
2019-07-05 16:41:34 -07:00
melissaml
ca0ad039a7 Trivial: Update pypi url to new url
Pypi url changed from [1] to [2]

[1] https://pypi.python.org/pypi/<package>
[2] https://pypi.org/project/<package>

Change-Id: Idf7bf448a1066d343c8db95e94c01310d943c6ad
2018-04-21 10:07:34 +08:00
Jenkins
fd2a777b03 Merge "Turn on warning-is-error for sphinx build" 2017-07-17 21:36:28 +00:00
Jenkins
67e0059110 Merge "Switch from oslosphinx to openstackdocstheme" 2017-07-17 21:36:27 +00:00
Samriddhi Jain
414d0d4df8 Switch from oslosphinx to openstackdocstheme
Following the new doc migration spec, the documentation
theme needs to be switched to openstackdocstheme.

Change-Id: Ia840524a4c3b4ceb9605c997a2971d84880c70ac
2017-07-17 23:28:36 +05:30
Samriddhi Jain
9fc60292c0 Turn on warning-is-error for sphinx build
The doc-migration spec requires all projects to treat warnings
as errors during sphinx build. This patches turns that function
on and resolves the error (detailed below) coming as a result
of it.

The code block in event_concept.rst file is currently made to
render in javascript which is an incorrect syntax for it.

Change-Id: Id7fee247b76ed7cfebb849305e0611bc966709be
2017-07-17 23:23:01 +05:30
Samriddhi Jain
68a2647bd1 Update URL in docs as per the doc-migration spec
The migration spec has listed some changes in the URLs of project
directories. This commit fixes those changed URLs.

Change-Id: Id040fdf9cc16cd6b05c82cc93e88301f743a1801
2017-07-14 20:12:27 +05:30
Eric Brown
542f9288b0 Use https for *.openstack.org references
The openstack.org pages now support https and our references to
the site should by default be one signed by the organization.

Change-Id: Ib2dce89ac43e844a5f1b3adcfe9bcaf4141043ce
2017-02-05 20:49:06 -08:00
Andreas Jaeger
783ce98ec5 Remove unused pngmath Sphinx extension
There's no RST file that uses ".. math" and thus
the pngmath Sphinx extension is not used and can
get removed.

Change-Id: I3ea4b529025c8ac3c4092f3720124647861e6668
2016-02-29 19:56:58 +01:00
Lokesh S
dc553133d8 Adding ironic api specific audit map configuration
Closes-Bug: 1541232

Change-Id: Ic267cd171564240363b39b288dd6c22f7851f4fb
2016-02-06 17:24:35 +00:00
Rakesh H S
d9340d8988 Enable cadf support for Heat
Adds heat_api_audit_map.conf to enable cadf support for Heat.

Closes-Bug: #1536483
Change-Id: Ic3e68748ab5440d2d21554b6cdf0d793fdbf38a9
2016-01-21 15:04:31 +05:30
gordon chung
42b2926c0a make generate_uuid return valid uuid
original design prepended a namespace to the beginning of uuid.
this scoped the uuid to a namespace but it is technically invalid.

this patch drops the behaviour of prepending string. rather, it
takes the namespace, hashes it, and uses uuid v5 to generate valid
uuid based on that namespace

Change-Id: Ibde222c91522fa3c4a1720b6a8da81dac31560b9
Closes-Bug: #1504889
2015-11-12 18:03:35 -05:00
Joshua Harlow
0deffafb0d Include changelog/history in docs
Removes old manually generated file.

Change-Id: I4e50fb2ccbc665f8cc16b7fc575422ce959a0058
2015-09-24 16:28:57 -07:00
Jenkins
aeaf539e59 Merge "Fix event example" 2015-09-24 17:06:25 +00:00
Stanisław Pitucha
3fd46c2a4e Fix event example
Even example had two lines merged together.

Change-Id: If3a40b5512630ca79e3880f8bee5b34950bdcbec
2015-09-24 12:25:47 +10:00
Stanisław Pitucha
8bc4639b0c Event doc indentation issue
Change-Id: I705391d800e104381758b6c5b54e5d124b32e1e5
2015-09-23 14:25:29 +10:00
JUNJIE NAN
0fa95a367f Fixed typo error
Before action there should be a "," there.

Change-Id: I29f690e0e42b1b1bfccf19e5ea576974f105e826
2015-08-18 22:48:17 +08:00
Jenkins
393782a544 Merge "Remove empty _templates folder" 2015-03-12 19:45:08 +00:00
Steve Martinelli
1a55d1c4da Remove empty _templates folder
as far as i can tell, this folder does nothing

Change-Id: I4f2c6c56a87d62665b45b40b1a8769149fbfd469
2015-03-12 11:47:05 -04:00
Steve Martinelli
87f5f39c51 Add a section for audit maps
the docs had no reference to the audit mapping files that pycadf
provides.

Change-Id: I18aeac07735211acb3dcf0044321b9a6cb9c1040
2015-03-11 23:36:36 -04:00
Jenkins
932a437db5 Merge "add a new set of release notes" 2015-03-11 03:01:42 +00:00
Jenkins
513ee8ba75 Merge "Fix formatting error for geolocation note" 2015-03-11 02:40:15 +00:00
Steve Martinelli
ad8049741e Fix formatting error for geolocation note
The section was more of a `note` than an `example`, and renders
more clearly when the rst `note` tag is used.

Change-Id: I7b7c92301ce2bcfa60b44a0297eeb3848d89355e
2015-03-07 19:28:21 +00:00
Steve Martinelli
0379e70429 add a new set of release notes
adds a date for 0.7.0 release notes, and adds info about releases
0.7.1 and 0.8.0.

Change-Id: I7450c44a453936467b6d55b52c81c11eb81d9cce
2015-03-07 19:27:37 +00:00
Steve Martinelli
8180e64c38 Clean up pycadf's doc landing page
- the end of the intro paragraph came to an unexpected stop, so clean
  that up.

- suggest removing the debugging section, as that is now maintained
  by oslotest:
  http://docs.openstack.org/developer/oslotest/features.html

- add more info to the contributing section, since it was lacking
  before.

Change-Id: I7abd5b0ce192f18fa80a208ac5b191d1c7bd2981
2015-03-07 13:45:29 -05:00
Steve Martinelli
6c1ee2e583 Additional doc clean up
1) Added code-block headers to the JSON examples
2) Formatted the JSON examples
3) Replaced a few instances of double-byte characters with more
   their usual counter parts ("-" and "'"), these normally originate
   from the openstack wiki for some reason.

Change-Id: I2ca1dbfc5bdf1c50da466b290a6460a42f1b885a
2015-02-19 06:00:29 +00:00
gordon chung
1613013277 cleanup documentation
- fix image width to conform to formatting
- move specification out of dev section
- redirect middleware doc to keystonemiddleware
- add full spec pdf link to specifications page
- drop tree depth so we don't have 'serialisation' subheaders in toc

Change-Id: Ia36c029b792f574b2b30623b3b2696242b79d75c
2015-02-16 13:57:51 -05:00
lin-hua-cheng
d71697f9cd Fix oslo.messaging link in docs
Change-Id: I508cef2cc49e3324ed44ab1f1024bc8fd01646a3
2015-02-04 16:16:06 -08:00
Steve Martinelli
a555ae398d Add release notes
Change-Id: Id4b274f27ad06f91a06587157ed5da064c93873e
Closes-Bug: #1336976
2014-10-29 22:12:17 -04:00
Davanum Srinivas
f2f0551cce Stop using intersphinx
Remove intersphinx from the docs build as it triggers network calls that
occasionally fail, and we don't really use intersphinx (links other
sphinx documents out on the internet)

This also removes the requirement for internet access during docs build.

This can cause docs jobs to fail if the project errors out on
warnings.

Change-Id: I6d0bb0678ff35a751c0b7c40cb73803701eb8a75
Related-Bug: #1368910
2014-09-29 21:26:32 -04:00
Brad Topol
02c6e36906 Debug env for tox
Running a test with pdb was difficult because tox captures
output and causes pdb prompt to quit.

Tips for how to run with debug are provided here:
 https://wiki.openstack.org/wiki/Testr#Debugging_.28pdb.29_Tests

This change puts these commands into a debug env in tox.ini so
you can do a command like

tox -e debug pycadf.tests.test_cadf_spec

and when it hits your breakpoint you'll get the debug prompt.

Change-Id: I53893d618cd60c0456368088497542db7e4a6eac
Co-Authored-By: Brant Knudson <bknudson@us.ibm.com>
2014-07-28 13:58:57 -05:00
Brad Topol
39aeafdec6 Fix a grammatical error in contributing doc
I noticed a small grammatical error in the contributing
doc so I went ahead and fixed it.

Change-Id: Idb36271fa37f7e970e4d2698f9817cbdd63f0269
2014-07-23 09:16:27 -05:00
Martin Geisler
5792c7a1f1 Expand © and remove unnecessary encoding lines
The word "Copyright" alone is sufficient to claim copyright, the ©
symbol need not be present.[1] This allows us to expand the "©" symbol
into "(c)" to avoid introducing non-ASCII characters.

As per PEP 263, a Python file with non-ASCII characters must have a
line with "coding: <some-encoding>". Python files containing only
7-bit ASCII characters need no such line.[2]

This commit expands the non-ASCII Unicode copyright symbols and
removes the now unnecessary encoding lines.

[1]: http://www.copyright.gov/circs/circ03.pdf
[2]: http://legacy.python.org/dev/peps/pep-0263/

Change-Id: Ibbb282224bccbea383947b4e09a619f94d5c24b1
2014-06-15 18:09:09 +02:00
Gordon Chung
3e4f593984 reorder documentation
- reorder documentation so it's grouped logically.
- add api docstring modules

Change-Id: I47e49634fe7d8bb16a51f3045e7fe53683d56d1a
2014-04-10 16:45:14 -04:00
Gordon Chung
c048191d3a add OpenStack Foundation as author
add OpenStack Foundation as author

Change-Id: Iac1b743fa4c0d0ead2badaee5f36451e91465bf0
2014-03-17 16:04:50 -04:00
Gordon Chung
1d5428afa7 pycadf documentation
add basic documentation on CADF spec.

Closes-Bug: #1279951
Change-Id: Ie1703d9b5109d8275377857e5362e3b09385f647
Implements: blueprint document-pycadf
2014-03-17 00:28:45 -04:00