You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

writing-documentation.rst 1.2KB

123456789101112131415161718192021222324
  1. =====================
  2. Writing documentation
  3. =====================
  4. The docs are built by calling ``make docs`` from your Oscar directory.
  5. They live in ``/docs/source``. This directory structure is a
  6. simplified version of what Django does.
  7. * ``internals/`` contains everything related to Oscar itself, e.g. contributing
  8. guidelines or design philosophies.
  9. * ``ref/`` is the reference documentation, esp. consisting of
  10. * ``ref/apps/`` which should be a guide to each Oscar core app, explaining it's
  11. function, the main models, how it relates to the other apps, etc.
  12. * ``topics/`` will contain "meta" articles, explaining how things tie together
  13. over several apps, or how Oscar can be combined with other solutions.
  14. * ``howto/`` contains tutorial-style descriptions on how to solve a certain
  15. problem.
  16. ``/index.rst`` is designed as the entry point, and diverges from above
  17. structure to make the documentation more approachable. Other ``index.rst``
  18. files should only be created if there's too many files to list them all.
  19. E.g. ``/index.rst`` directly links to all files in ``topics/`` and
  20. ``internals/``, but there's an ``index.rst`` both for the files in ``howto/``
  21. and ``ref/apps/``.