horizon documentation corrections

1. fix some spelling and punctuation errors
2. correct the path string in the plugin tutotial which might cause
misleadings

Change-Id: Ie049e1d3cfb745a62d7ab6944652a19ab3b949b6
This commit is contained in:
shlo 2016-09-01 12:16:56 +08:00
parent 5b4a399c12
commit 325309d927
4 changed files with 4 additions and 4 deletions

View File

@ -126,7 +126,7 @@ module with the basic panel code filled in, and various other common
Available options: Available options:
* ``-d``, ``--dashboard``: The dotted python path to your dashboard app (the * ``-d``, ``--dashboard``: The dotted python path to your dashboard app (the
module which containers the ``dashboard.py`` file.). If not specified, the module which contains the ``dashboard.py`` file.). If not specified, the
target dashboard should be specified in a pluggable settings file for the target dashboard should be specified in a pluggable settings file for the
panel. panel.
* ``--target``: the directory in which the panel files should be created. * ``--target``: the directory in which the panel files should be created.

View File

@ -12,7 +12,7 @@ Code Layout
=========== ===========
The base SCSS can be found at ``openstack_dashboard/static/dashboard/scss/``. The base SCSS can be found at ``openstack_dashboard/static/dashboard/scss/``.
This directory should **only** contain the minimal styling for functionality; This directory should **only** contain the minimal styling for functionality
code that isn't configurable by themes. ``horizon.scss`` is a top level file code that isn't configurable by themes. ``horizon.scss`` is a top level file
that imports from the ``components/`` directory, as well as other base styling that imports from the ``components/`` directory, as well as other base styling
files; potentially some basic page layout rules that Horizon relies on to files; potentially some basic page layout rules that Horizon relies on to

View File

@ -262,7 +262,7 @@ The javascript wrapper for inline editing allows each table cell that has
in-line editing available to: in-line editing available to:
#. Refresh itself with new data from the server. #. Refresh itself with new data from the server.
#. Display in edit mod. #. Display in edit mode.
#. Send changed data to server. #. Send changed data to server.
#. Display validation errors. #. Display validation errors.

View File

@ -147,7 +147,7 @@ _31000_myplugin.py::
ADD_JS_FILES = [] ADD_JS_FILES = []
# A list of scss files to be included in the compressed set of files # A list of scss files to be included in the compressed set of files
ADD_SCSS_FILES = ['dashboard/identity/myplugin/myplugin.scss'] ADD_SCSS_FILES = ['dashboard/identity/myplugin/mypanel/mypanel.scss']
.. Note :: .. Note ::