conf.py 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. # -*- coding: utf-8 -*-
  2. import sys, os
  3. # If extensions (or modules to document with autodoc) are in another directory,
  4. # add these directories to sys.path here. If the directory is relative to the
  5. # documentation root, use os.path.abspath to make it absolute, like shown here.
  6. #sys.path.insert(0, os.path.abspath('.'))
  7. # -- General configuration -----------------------------------------------------
  8. # If your documentation needs a minimal Sphinx version, state it here.
  9. #needs_sphinx = '1.0'
  10. # Add any Sphinx extension module names here, as strings. They can be extensions
  11. # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
  12. extensions = ['sensio.sphinx.refinclude', 'sensio.sphinx.configurationblock', 'sensio.sphinx.phpcode']
  13. # Add any paths that contain templates here, relative to this directory.
  14. templates_path = ['_templates']
  15. # The suffix of source filenames.
  16. source_suffix = '.rst'
  17. # The encoding of source files.
  18. #source_encoding = 'utf-8-sig'
  19. # The master toctree document.
  20. master_doc = 'index'
  21. # General information about the project.
  22. project = u'FriendsOfSymfony ~ CKEditorBundle'
  23. copyright = u''
  24. # List of patterns, relative to source directory, that match files and
  25. # directories to ignore when looking for source files.
  26. exclude_patterns = ['_build']
  27. # The name of the Pygments (syntax highlighting) style to use.
  28. pygments_style = 'sphinx'
  29. # This will be used when using the shorthand notation
  30. highlight_language = 'php'
  31. # -- Options for HTML output ---------------------------------------------------
  32. import sphinx_rtd_theme
  33. # The theme to use for HTML and HTML Help pages. See the documentation for
  34. # a list of builtin themes.
  35. html_theme = 'sphinx_rtd_theme'
  36. # Add any paths that contain custom themes here, relative to this directory.
  37. html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
  38. # Add any paths that contain custom static files (such as style sheets) here,
  39. # relative to this directory. They are copied after the builtin static files,
  40. # so a file named "default.css" will overwrite the builtin "default.css".
  41. html_static_path = []
  42. # Output file base name for HTML help builder.
  43. htmlhelp_basename = 'doc'
  44. # -- Options for LaTeX output --------------------------------------------------
  45. latex_elements = {
  46. # The paper size ('letterpaper' or 'a4paper').
  47. #'papersize': 'letterpaper',
  48. # The font size ('10pt', '11pt' or '12pt').
  49. #'pointsize': '10pt',
  50. # Additional stuff for the LaTeX preamble.
  51. #'preamble': '',
  52. }