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.

94 lines
1.9KB

  1. project = 'VCV Rack'
  2. copyright = '2018, VCV'
  3. author = 'VCV'
  4. source_encoding = 'utf-8'
  5. extensions = [
  6. # 'sphinx.ext.mathjax',
  7. 'recommonmark',
  8. ]
  9. templates_path = ['_templates']
  10. master_doc = 'index'
  11. language = 'en'
  12. # List of patterns, relative to source directory, that match files and
  13. # directories to ignore when looking for source files.
  14. # This pattern also affects html_static_path and html_extra_path .
  15. exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
  16. # The name of the Pygments (syntax highlighting) style to use.
  17. pygments_style = 'sphinx'
  18. # Theme
  19. html_favicon = "favicon.png"
  20. html_theme = "sphinx_rtd_theme"
  21. html_theme_options = {
  22. 'logo_only': True, # if we have a html_logo below, this shows /only/ the logo with no title text
  23. 'collapse_navigation': False, # Collapse navigation (False makes it tree-like)
  24. }
  25. html_context = {
  26. "display_github": True,
  27. "github_user": "VCVRack",
  28. "github_repo": "manual",
  29. "github_version": "master",
  30. "conf_py_path": "/",
  31. }
  32. html_logo = 'images/logo.png'
  33. html_static_path = ['_static']
  34. html_show_sphinx = False
  35. html_show_copyright = False
  36. htmlhelp_basename = 'VCVRackdoc'
  37. latex_elements = {
  38. # The paper size ('letterpaper' or 'a4paper').
  39. #
  40. # 'papersize': 'letterpaper',
  41. # The font size ('10pt', '11pt' or '12pt').
  42. #
  43. # 'pointsize': '10pt',
  44. # Additional stuff for the LaTeX preamble.
  45. #
  46. # 'preamble': '',
  47. # Latex figure (float) alignment
  48. #
  49. # 'figure_align': 'htbp',
  50. }
  51. latex_documents = [
  52. (master_doc, 'VCVRack.tex', 'VCV Rack Manual Documentation',
  53. 'VCV', 'manual'),
  54. ]
  55. epub_title = project
  56. epub_author = author
  57. epub_publisher = author
  58. epub_copyright = copyright
  59. epub_exclude_files = ['search.html']
  60. def setup(app):
  61. app.add_stylesheet("overrides.css")
  62. app.add_config_value('recommonmark_config', {
  63. 'enable_math': True,
  64. 'enable_inline_math': True,
  65. }, True)