README.rst 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. ==============
  2. How To Install
  3. ==============
  4. Install in Sphinx
  5. -----------------
  6. Copy this directory into the ``sphinx/templates`` directory where Shpinx is installed. For example, a standard install of sphinx on Mac OS X is at ``/Library/Python/2.6/site-packages/Sphinx-0.6.3-py2.6.egg/``
  7. Install Somewhere Else
  8. ----------------------
  9. If you want to install this theme somewhere else, you will have to modify the ``conf.py`` file. ::
  10. templates_path = ['/absolute/path/to/dir/','relative/path/']
  11. <<<<<<< HEAD
  12. Making Sphinx Use the Theme
  13. ---------------------------
  14. Edit the ``conf.py`` file and make the following setting: ::
  15. =======
  16. Install Directly in Your Documentation
  17. --------------------------------------
  18. If you want to include the files directly in the documentation, so another person can build your documentation, it is easy.
  19. 1. Copy over everything in the ``static`` directory into the ``_static`` directory of your documentation's source folder.
  20. 2. Copy the ``layout.html`` file into the ``_templates`` directory of your documentation's source folder.
  21. 3. Alter your ``conf.py`` ::
  22. html_theme = 'basic'
  23. instead of ``'ADCtheme'``.
  24. Making Sphinx Use the Theme
  25. ---------------------------
  26. If you aren't installing the files directly into your documentation, edit the ``conf.py`` file and make the following setting: ::
  27. >>>>>>> 12ce4b1... Updated docs/_theme/ADCTheme
  28. html_theme = 'ADCtheme'
  29. Screen Shots
  30. ------------
  31. .. image:: http://github.com/coordt/ADCtheme/raw/master/static/scrn1.png
  32. .. image:: http://github.com/coordt/ADCtheme/raw/master/static/scrn2.png
  33. To Do
  34. -----
  35. * Gotta get the javascript working so the Table of Contents is hide-able.
  36. * Probably lots of css cleanup.