You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

conf.py 3.4 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. import pkg_resources
  2. # Configuration file for the Sphinx documentation builder.
  3. #
  4. # For the full list of built-in configuration values, see the documentation:
  5. # https://www.sphinx-doc.org/en/master/usage/configuration.html
  6. # -- General configuration ------------------------------------------------
  7. # If your documentation needs a minimal Sphinx version, state it here.
  8. #
  9. # needs_sphinx = '1.0'
  10. # Add any Sphinx extension module names here, as strings. They can be
  11. # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
  12. # ones.
  13. extensions = [
  14. "sphinx.ext.autodoc",
  15. "sphinx.ext.todo",
  16. "sphinx.ext.mathjax",
  17. "sphinx.ext.napoleon",
  18. ]
  19. language = "en_US"
  20. # Add any paths that contain templates here, relative to this directory.
  21. templates_path = ["_templates"]
  22. # The suffix(es) of source filenames.
  23. # You can specify multiple suffix as a list of string:
  24. #
  25. # source_suffix = ['.rst', '.md']
  26. source_suffix = ".rst"
  27. # The master toctree document.
  28. master_doc = "index"
  29. # -- Project information -----------------------------------------------------
  30. # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
  31. project = "learnware"
  32. copyright = "2023, LAMDA Group"
  33. author = "LAMDA Group"
  34. # The version info for the project you're documenting, acts as replacement for
  35. # |version| and |release|, also used in various other places throughout the
  36. # built documents.
  37. #
  38. # The short X.Y version.
  39. version = pkg_resources.get_distribution("learnware").version
  40. # The full version, including alpha/beta/rc tags.
  41. release = pkg_resources.get_distribution("learnware").version
  42. release = "0.1.0.99"
  43. # -- Options for HTML output -------------------------------------------------
  44. # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
  45. # List of patterns, relative to source directory, that match files and
  46. # directories to ignore when looking for source files.
  47. # This patterns also effect to html_static_path and html_extra_path
  48. exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
  49. # The name of the Pygments (syntax highlighting) style to use.
  50. pygments_style = "sphinx"
  51. # If true, `todo` and `todoList` produce output, else they produce nothing.
  52. todo_include_todos = False
  53. # If true, '()' will be appended to :func: etc. cross-reference text.
  54. add_function_parentheses = False
  55. # If true, the current module name will be prepended to all description
  56. # unit titles (such as .. function::).
  57. add_module_names = True
  58. # If true, `todo` and `todoList` produce output, else they produce nothing.
  59. todo_include_todos = True
  60. # -- Options for HTML output ----------------------------------------------
  61. # The theme to use for HTML and HTML Help pages. See the documentation for
  62. # a list of builtin themes.
  63. #
  64. html_theme = "sphinx_rtd_theme"
  65. # html_logo = '_static/img/logo/1.png'
  66. # Theme options are theme-specific and customize the look and feel of a theme
  67. # further. For a list of options available for each theme, see the
  68. # documentation.
  69. # html_context = {
  70. # "display_github": False,
  71. # "last_updated": True,
  72. # "commit": True,
  73. # "github_user": "Microsoft",
  74. # "github_repo": "QLib",
  75. # 'github_version': 'master',
  76. # 'conf_py_path': '/docs/',
  77. # }
  78. #
  79. html_theme_options = {
  80. "logo_only": True,
  81. "collapse_navigation": False,
  82. "display_version": False,
  83. "navigation_depth": 3,
  84. }

基于学件范式,全流程地支持学件上传、检测、组织、查搜、部署和复用等功能。同时,该仓库作为北冥坞系统的引擎,支撑北冥坞系统的核心功能。