kopia lustrzana https://github.com/wagtail/wagtail
moved styleguide to own page. renamed trying wagtail to demo site
rodzic
f42e06c455
commit
bf6607de54
|
@ -6,5 +6,6 @@ Contributing to Wagtail
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
developing
|
developing
|
||||||
|
styleguide
|
||||||
css_guidelines
|
css_guidelines
|
||||||
javascript_guidelines
|
javascript_guidelines
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
Styleguide
|
||||||
|
==========
|
||||||
|
|
||||||
|
Developers working on the Wagtail UI or creating new UI components may wish to test their work against our Styleguide, which is provided as the contrib module "wagtailstyleguide".
|
||||||
|
|
||||||
|
To install the styleguide module on your site, add it to the list of ``INSTALLED_APPS`` in your settings:
|
||||||
|
|
||||||
|
.. code-block:: python
|
||||||
|
|
||||||
|
INSTALLED_APPS = (
|
||||||
|
...
|
||||||
|
'wagtail.contrib.wagtailstyleguide',
|
||||||
|
...
|
||||||
|
)
|
||||||
|
|
||||||
|
At present the styleguide is static: new UI components must be added to it manually, and there are no hooks into it for other modules to use. We hope to support hooks in the future.
|
||||||
|
|
||||||
|
The styleguide doesn't currently provide examples of all the core interface components; notably the Page, Document, Image and Snippet chooser interfaces are not currently represented.
|
|
@ -5,7 +5,7 @@ Getting started
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
trying_wagtail
|
|
||||||
installation
|
installation
|
||||||
creating_your_project
|
creating_your_project
|
||||||
using_vagrant
|
using_vagrant
|
||||||
|
demo_site
|
||||||
|
|
|
@ -8,7 +8,7 @@ Below are some useful links to help you get started with Wagtail.
|
||||||
|
|
||||||
* **First steps**
|
* **First steps**
|
||||||
|
|
||||||
* :doc:`getting_started/trying_wagtail`
|
* :doc:`getting_started/demo_site`
|
||||||
* :doc:`getting_started/installation`
|
* :doc:`getting_started/installation`
|
||||||
* :doc:`getting_started/creating_your_project`
|
* :doc:`getting_started/creating_your_project`
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue