Skip to content

Commit

Permalink
Doc tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
amol- committed Apr 4, 2019
1 parent e35770b commit eb13433
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ Changelog
- 2.0.2 release with py2.5 bugfixes for TG. `bd8304957 <https://github.com/toscawidgets/tw2.core/commit/bd830495770f95f4d0bfdfb21a98662d15f7ab30>`_
- Specfile update for 2.0.2. `d9aeb76b3 <https://github.com/toscawidgets/tw2.core/commit/d9aeb76b31687b516a2f4871a52bc70bb8500e27>`_
- Changed executable bit for files that should/shouldn\'t have it. `4d77e3043 <https://github.com/toscawidgets/tw2.core/commit/4d77e30437be3d66aa5af9f1671d802b51e85654>`_
- Exclude *.pyc files from template directories. `4d281c684 <https://github.com/toscawidgets/tw2.core/commit/4d281c6840edee64a58bfd4b3d17ba3f8ab92a7d>`_
- Exclude ``.pyc`` files from template directories. `4d281c684 <https://github.com/toscawidgets/tw2.core/commit/4d281c6840edee64a58bfd4b3d17ba3f8ab92a7d>`_
- Version bump for rpm fixes. `a76db4c94 <https://github.com/toscawidgets/tw2.core/commit/a76db4c942c7eeb353d02086f3b0489f64ade1bb>`_
- Remove pyc files from the sdist package. Weird. `da3ddaea1 <https://github.com/toscawidgets/tw2.core/commit/da3ddaea1a0049168a673739a87711e0c3e4fceb>`_
- Switched links in the doc from old blog to new blog. `8f7332fd1 <https://github.com/toscawidgets/tw2.core/commit/8f7332fd150d330ef9040fe7bf1309560ebfe23f>`_
Expand Down Expand Up @@ -286,7 +286,7 @@ Changelog
- Whoops. Forgot to use the new relpath. #30. `f308bef92 <https://github.com/toscawidgets/tw2.core/commit/f308bef9232817c1edf072c8370ef823e5a481da>`_
- Use util.relpath instead of os.path.relpath. `3c302eaac <https://github.com/toscawidgets/tw2.core/commit/3c302eaac3c4eac565138be652d5be3e60c64421>`_
- .req() returns the validated widget is one exists. `be8f39404 <https://github.com/toscawidgets/tw2.core/commit/be8f39404c585f44ffb9333e1aa0f2e82ee951e5>`_
- Use **kw even when pulling in the validated widget. `f78492be9 <https://github.com/toscawidgets/tw2.core/commit/f78492be9406335cead45da79e429ffbf48efdce>`_
- Use ``**kw`` even when pulling in the validated widget. `f78492be9 <https://github.com/toscawidgets/tw2.core/commit/f78492be9406335cead45da79e429ffbf48efdce>`_
- Trying to duplicate an issue with Deferred. `cefbbfd73 <https://github.com/toscawidgets/tw2.core/commit/cefbbfd739c1b803039a9dded72098db8fc540b3>`_
- Tests for #41. `7c61047b9 <https://github.com/toscawidgets/tw2.core/commit/7c61047b9585e0f4a584a4c7389d213f2f3a24d4>`_
- Handle arguments to display() called as instance method. `86894492d <https://github.com/toscawidgets/tw2.core/commit/86894492d5c1565c7d49747bde8f5c848dbc9b61>`_
Expand Down
4 changes: 4 additions & 0 deletions docs/source/getstarted.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@ Enabling ToscaWidgets

Enabling ToscaWidgets in your application.

...

See :ref:`widgets` and :ref:`forms` on how
to use ToscaWidgets to create widgets and forms.

.. autoclass:: tw2.core.middleware.TwMiddleware
:members:

Configuration Options
---------------------

.. autoclass:: tw2.core.middleware.Config
:members:

15 changes: 8 additions & 7 deletions tw2/core/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,14 @@ class Config(object):
`rendering_engine_lookup`
A dictionary of file extensions you expect to use for each type of
template engine.
(default: {
'mako':['mak', 'mako'],
'genshi':['genshi', 'html'],
'jinja':['jinja', 'html'],
'kajiki':['kajiki', 'html'],
})
template engine. Default::
{
'mako':['mak', 'mako'],
'genshi':['genshi', 'html'],
'jinja':['jinja', 'html'],
'kajiki':['kajiki', 'html'],
}
`script_name`
A name to prepend to the url for all resource links (different from
Expand Down

0 comments on commit eb13433

Please sign in to comment.