django-cms/docs
2023-12-22 09:08:29 +00:00
..
_ext Removed trailing whitespace and blank lines. 2015-01-26 22:25:21 -05:00
_static Added docs theme 2018-03-26 18:14:06 +02:00
contributing Update docs for frontend testing (#7726) 2023-12-21 13:38:12 +00:00
how_to Add template-based install to django CMS v3 docs (#7709) 2023-12-04 21:55:56 +01:00
images Re-wrote manual installation how-to documentation (#5826) 2017-01-04 16:12:25 +00:00
introduction Remove discontinued discourse server from docs (#7703) 2023-11-26 18:09:46 +01:00
reference Update documentation CMS_CACHE_PREFIX default value (#7727) 2023-12-22 09:08:29 +00:00
topics docs: Remove outdated link to djangocms-installer from docs (#7697) 2023-11-21 13:17:12 +05:30
upgrade Restore overwrttten release notes (#7711) 2023-12-05 21:23:45 +00:00
whoisbehind Fix typos in the docs using codespell (#7285) 2022-04-01 00:18:09 +01:00
conf.py Update for "How to install django CMS by hand" article (#7164) 2021-12-02 15:49:59 +01:00
index.rst Remove discontinued discourse server from docs (#7703) 2023-11-26 18:09:46 +01:00
Makefile fix: Build docs always from the current local version (#7472) 2023-01-10 17:36:00 +05:30
README.rst Fix typos in the docs using codespell (#7285) 2022-04-01 00:18:09 +01:00
requirements.in Fix typos in the docs using codespell (#7285) 2022-04-01 00:18:09 +01:00
requirements.txt update certifi 2022.12.07 to 2023.7.22 (#7661) 2023-11-29 16:48:58 +01:00
spelling_wordlist fix: JS issues with running CMS under cypress (#7591) 2023-06-23 10:41:27 +02:00

=========================
django CMS Documentation
=========================

Run the documentation locally
-----------------------------

Install the Enchant library
~~~~~~~~~~~~~~~~~~~~~~~~~~

You will need to install the
`enchant <https://www.abisource.com/projects/enchant/>`__ library that
is used by ``pyenchant`` for spelling.

macOS:
^^^^^^

.. code:: bash

    brew install enchant

After that:

Fork & Clone the repository:
^^^^^^^^^^^^^^^^^^^^^

.. code:: bash

    git@github.com:your-github-username/django-cms.git

Switch to the django-cms directory:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code:: bash

    cd django-cms/docs

Install the dependencies:
^^^^^^^^^^^^^^^^^^^^^^^^^

.. code:: bash

    make install

This command creates a virtual environment and installs the required
dependencies there.

Start the development server:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code:: bash

    make run

Open the local docs instance in your browser:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code:: bash

    open http://0.0.0.0:8001/

The documentation uses livereload. This means, that every time something
is changed, the documentation will automatically reload in your
browser.

Contribute
----------

If you find anything that could be improved or changed in your opinion,
feel free to create a pull request.