2
0

conf.py 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. # -*- coding: utf-8 -*-
  2. #
  3. # Django documentation build configuration file, created by
  4. # sphinx-quickstart on Thu Mar 27 09:06:53 2008.
  5. #
  6. # This file is execfile()d with the current directory set to its containing dir.
  7. #
  8. # The contents of this file are pickled, so don't put values in the namespace
  9. # that aren't pickleable (module imports are okay, they're removed automatically).
  10. #
  11. # All configuration values have a default value; values that are commented out
  12. # serve to show the default value.
  13. import sys
  14. # If your extensions are in another directory, add it here.
  15. #sys.path.append('some/directory')
  16. # General configuration
  17. # ---------------------
  18. # Add any Sphinx extension module names here, as strings. They can be extensions
  19. # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
  20. #extensions = []
  21. # Add any paths that contain templates here, relative to this directory.
  22. templates_path = []
  23. # The suffix of source filenames.
  24. source_suffix = '.txt'
  25. # The master toctree document.
  26. master_doc = 'index'
  27. # General substitutions.
  28. project = 'Django'
  29. copyright = '2008, Django Software Foundation'
  30. # The default replacements for |version| and |release|, also used in various
  31. # other places throughout the built documents.
  32. #
  33. # The short X.Y version.
  34. version = '$LastChangedRevision$'.split()[1]
  35. # The full version, including alpha/beta/rc tags.
  36. release = version
  37. # There are two options for replacing |today|: either, you set today to some
  38. # non-false value, then it is used:
  39. #today = ''
  40. # Else, today_fmt is used as the format for a strftime call.
  41. today_fmt = '%B %d, %Y'
  42. # List of documents that shouldn't be included in the build.
  43. #unused_docs = []
  44. # If true, '()' will be appended to :func: etc. cross-reference text.
  45. add_function_parentheses = True
  46. # If true, the current module name will be prepended to all description
  47. # unit titles (such as .. function::).
  48. add_module_names = False
  49. # If true, sectionauthor and moduleauthor directives will be shown in the
  50. # output. They are ignored by default.
  51. show_authors = False
  52. # The name of the Pygments (syntax highlighting) style to use.
  53. pygments_style = 'sphinx'
  54. # Options for HTML output
  55. # -----------------------
  56. # The style sheet to use for HTML and HTML Help pages. A file of that name
  57. # must exist either in Sphinx' static/ path, or in one of the custom paths
  58. # given in html_static_path.
  59. html_style = 'default.css'
  60. # Add any paths that contain custom static files (such as style sheets) here,
  61. # relative to this directory. They are copied after the builtin static files,
  62. # so a file named "default.css" will overwrite the builtin "default.css".
  63. html_static_path = []
  64. # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
  65. # using the given strftime format.
  66. html_last_updated_fmt = '%b %d, %Y'
  67. # If true, SmartyPants will be used to convert quotes and dashes to
  68. # typographically correct entities.
  69. html_use_smartypants = True
  70. # Content template for the index page.
  71. #html_index = ''
  72. # Custom sidebar templates, maps document names to template names.
  73. #html_sidebars = {}
  74. # Additional templates that should be rendered to pages, maps page names to
  75. # template names.
  76. #html_additional_pages = {}
  77. # If false, no module index is generated.
  78. #html_use_modindex = True
  79. # If true, the reST sources are included in the HTML build as _sources/<name>.
  80. html_copy_source = True
  81. # Output file base name for HTML help builder.
  82. htmlhelp_basename = 'Djangodoc'
  83. # Options for LaTeX output
  84. # ------------------------
  85. # The paper size ('letter' or 'a4').
  86. #latex_paper_size = 'letter'
  87. # The font size ('10pt', '11pt' or '12pt').
  88. #latex_font_size = '10pt'
  89. # Grouping the document tree into LaTeX files. List of tuples
  90. # (source start file, target name, title, author, document class [howto/manual]).
  91. #latex_documents = []
  92. # Additional stuff for the LaTeX preamble.
  93. #latex_preamble = ''
  94. # Documents to append as an appendix to all manuals.
  95. #latex_appendices = []
  96. # If false, no module index is generated.
  97. #latex_use_modindex = True