Commit graph

29 commits

Author SHA1 Message Date
22a5671867 remove cloned directories without config 2020-04-28 19:36:16 +02:00
Jan Holthuis
e7dfaff99b Fix handling of absolute paths 2020-04-19 13:43:20 +02:00
Jan Holthuis
9a7966057a sphinx_multiversion/sphinx: Bump extension version 2020-04-19 13:03:01 +02:00
Jan Holthuis
75e8b3f96b Add absolute outputdir and confdir to metadata dict 2020-04-15 14:20:51 +02:00
Jan Holthuis
a21fa854c7 sphinx_multiversion/main: Reformat CLI define substitution 2020-04-15 14:20:00 +02:00
Jan Holthuis
b4b5cc6281 Allow variable substitution in command line defines
Attempt to fix edge cases where other extensions need to know about the
actual source path.

Resolves: #4
2020-04-11 03:16:00 +02:00
Jan Holthuis
d10d2ce7f8 sphinx_multiversion/main: Fix confdir not being set on missing -c flag 2020-03-12 09:01:49 +01:00
Jan Holthuis
5d709d35b3 Fix various code style issues 2020-03-11 13:42:49 +01:00
Jan Holthuis
1cafcd7b3b main: Improve warning when an output dir is skipped 2020-03-11 11:23:48 +01:00
Jan Holthuis
1f30de7017 main: Add support for preferring local/remote refs 2020-03-11 11:23:24 +01:00
Jan Holthuis
31b55c7e91 sphinx: Fix wrong invocation of datetime.strftime for config.today 2020-02-27 17:42:43 +01:00
Jan Holthuis
480b394299 Get rid of Python 3.7 dependency 2020-02-26 11:42:37 +01:00
Jan Holthuis
fd189457d6 Show warning if matching references have been found 2020-02-25 15:55:23 +01:00
Jan Holthuis
aae989a375 Set sphinx date from commit creatordate 2020-02-25 15:22:10 +01:00
Jan Holthuis
2ad236af5a Improve config parsing in sphinx extension 2020-02-25 15:21:04 +01:00
Jan Holthuis
3ab33e5148 Add missing "-D" flag for command line defines 2020-02-25 12:32:29 +01:00
Jan Holthuis
537cb23438 Fix source directory path for other versions 2020-02-25 12:31:49 +01:00
Jan Holthuis
366e7f3c8b main: Also catch OSErrors when loading the config 2020-02-23 18:45:32 +01:00
Jan Holthuis
8f992a3761 Replace default outputdir format 2020-02-23 17:32:56 +01:00
Jan Holthuis
88171df2dd Refactor config loading and git tree parsing 2020-02-23 17:10:33 +01:00
Jan Holthuis
54112368be git: Switch from shallow clones to "git archive" to support arbitrary commits 2020-02-21 14:01:09 +01:00
Jan Holthuis
4cae607d1a Add support for distinguishing released/in-development versions 2020-02-21 13:59:51 +01:00
Jan Holthuis
1f826ea099 git: Find additional version metadata such as is_remote and commit id 2020-02-21 13:58:30 +01:00
Jan Holthuis
6aa7531836 sphinx: Simplify code by moving Version creation into separate method 2020-02-21 10:28:01 +01:00
Jan Holthuis
aaff60ceed Export latest/current_version as Version objects to HTML context 2020-02-21 10:21:23 +01:00
Jan Holthuis
88ff5dd9b2 Add support listing release of each version 2020-02-20 17:03:03 +01:00
Jan Holthuis
f6ecbc761c Add support for listing versions by version number 2020-02-20 16:52:11 +01:00
Jan Holthuis
4849ee449e Only use local copies of remote branches 2020-02-19 18:03:43 +01:00
Jan Holthuis
6906ab6439 Add initial version of project 2020-02-19 17:18:57 +01:00