This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
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.

180 lines
5.1 KiB

  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Lark documentation build configuration file, created by
  5. # sphinx-quickstart on Sun Aug 16 13:09:41 2020.
  6. #
  7. # This file is execfile()d with the current directory set to its
  8. # containing dir.
  9. #
  10. # Note that not all possible configuration values are present in this
  11. # autogenerated file.
  12. #
  13. # All configuration values have a default; values that are commented out
  14. # serve to show the default.
  15. # If extensions (or modules to document with autodoc) are in another directory,
  16. # add these directories to sys.path here. If the directory is relative to the
  17. # documentation root, use os.path.abspath to make it absolute, like shown here.
  18. #
  19. import os
  20. import sys
  21. sys.path.insert(0, os.path.abspath('..'))
  22. autodoc_member_order = 'bysource'
  23. # -- General configuration ------------------------------------------------
  24. # If your documentation needs a minimal Sphinx version, state it here.
  25. #
  26. # needs_sphinx = '1.0'
  27. # Add any Sphinx extension module names here, as strings. They can be
  28. # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
  29. # ones.
  30. extensions = [
  31. 'sphinx.ext.autodoc',
  32. 'sphinx.ext.napoleon',
  33. 'sphinx.ext.coverage',
  34. 'recommonmark',
  35. ]
  36. # Add any paths that contain templates here, relative to this directory.
  37. templates_path = ['_templates']
  38. # The suffix(es) of source filenames.
  39. # You can specify multiple suffix as a list of string:
  40. #
  41. # source_suffix = ['.rst', '.md']
  42. source_suffix = {
  43. '.rst': 'restructuredtext',
  44. '.md': 'markdown'
  45. }
  46. # The master toctree document.
  47. master_doc = 'index'
  48. # General information about the project.
  49. project = 'Lark'
  50. copyright = '2020, Erez Shinan'
  51. author = 'Erez Shinan'
  52. # The version info for the project you're documenting, acts as replacement for
  53. # |version| and |release|, also used in various other places throughout the
  54. # built documents.
  55. #
  56. # The short X.Y version.
  57. version = ''
  58. # The full version, including alpha/beta/rc tags.
  59. release = ''
  60. # The language for content autogenerated by Sphinx. Refer to documentation
  61. # for a list of supported languages.
  62. #
  63. # This is also used if you do content translation via gettext catalogs.
  64. # Usually you set "language" from the command line for these cases.
  65. language = None
  66. # List of patterns, relative to source directory, that match files and
  67. # directories to ignore when looking for source files.
  68. # This patterns also effect to html_static_path and html_extra_path
  69. exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
  70. # The name of the Pygments (syntax highlighting) style to use.
  71. pygments_style = 'sphinx'
  72. # If true, `todo` and `todoList` produce output, else they produce nothing.
  73. todo_include_todos = False
  74. # -- Options for HTML output ----------------------------------------------
  75. # The theme to use for HTML and HTML Help pages. See the documentation for
  76. # a list of builtin themes.
  77. #
  78. html_theme = 'sphinx_rtd_theme'
  79. # Theme options are theme-specific and customize the look and feel of a theme
  80. # further. For a list of options available for each theme, see the
  81. # documentation.
  82. #
  83. # html_theme_options = {}
  84. # Add any paths that contain custom static files (such as style sheets) here,
  85. # relative to this directory. They are copied after the builtin static files,
  86. # so a file named "default.css" will overwrite the builtin "default.css".
  87. html_static_path = ['_static']
  88. # Custom sidebar templates, must be a dictionary that maps document names
  89. # to template names.
  90. #
  91. # This is required for the alabaster theme
  92. # refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars
  93. html_sidebars = {
  94. '**': [
  95. 'relations.html', # needs 'show_related': True theme option to display
  96. 'searchbox.html',
  97. ]
  98. }
  99. # -- Options for HTMLHelp output ------------------------------------------
  100. # Output file base name for HTML help builder.
  101. htmlhelp_basename = 'Larkdoc'
  102. # -- Options for LaTeX output ---------------------------------------------
  103. latex_elements = {
  104. # The paper size ('letterpaper' or 'a4paper').
  105. #
  106. # 'papersize': 'letterpaper',
  107. # The font size ('10pt', '11pt' or '12pt').
  108. #
  109. # 'pointsize': '10pt',
  110. # Additional stuff for the LaTeX preamble.
  111. #
  112. # 'preamble': '',
  113. # Latex figure (float) alignment
  114. #
  115. # 'figure_align': 'htbp',
  116. }
  117. # Grouping the document tree into LaTeX files. List of tuples
  118. # (source start file, target name, title,
  119. # author, documentclass [howto, manual, or own class]).
  120. latex_documents = [
  121. (master_doc, 'Lark.tex', 'Lark Documentation',
  122. 'Erez Shinan', 'manual'),
  123. ]
  124. # -- Options for manual page output ---------------------------------------
  125. # One entry per manual page. List of tuples
  126. # (source start file, name, description, authors, manual section).
  127. man_pages = [
  128. (master_doc, 'lark', 'Lark Documentation',
  129. [author], 1)
  130. ]
  131. # -- Options for Texinfo output -------------------------------------------
  132. # Grouping the document tree into Texinfo files. List of tuples
  133. # (source start file, target name, title, author,
  134. # dir menu entry, description, category)
  135. texinfo_documents = [
  136. (master_doc, 'Lark', 'Lark Documentation',
  137. author, 'Lark', 'One line description of project.',
  138. 'Miscellaneous'),
  139. ]