X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/a9f50cd0b58259a11a1c851bde7b4f11321e5b3b..dcd77136f8f62b35007ca11407cd04d7b62daed2:/docs/conf.py?ds=inline diff --git a/docs/conf.py b/docs/conf.py index 908a1a7..9599afd 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -59,6 +59,7 @@ def generate_sections_from_readme(): target_dir.mkdir(parents=True) output = None + target_dir = target_dir.relative_to(CURRENT_DIR) with open(str(readme), 'r', encoding='utf8') as f: for line in f: if line.startswith('## '): @@ -271,6 +272,8 @@ epub_exclude_files = ['search.html'] # -- Extension configuration ------------------------------------------------- +autodoc_member_order = 'bysource' + # -- Options for intersphinx extension --------------------------------------- # Example configuration for intersphinx: refer to the Python standard library.