-
Notifications
You must be signed in to change notification settings - Fork 2
/
peru.yaml
83 lines (65 loc) · 2.82 KB
/
peru.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
########
# Peru #
########
# [PURPOSE] Package manager for including other peoples code to project:
# It helps add to project third-party files and folders
# including from resources such as GitLab, BitBucket and GitHub
# https://github.com/buildinspace/peru
# [INFO] Configuration:
# https://github.com/buildinspace/peru#getting-fancy
# https://github.com/buildinspace/peru#rules
# [INFO] I use Peru for downloading Pelican plugins:
# https://iranzo.github.io/blog/2018/09/25/peru/
# [NOTE] Duplicate values with "site_variables.yaml" file:
# https://github.com/buildinspace/peru/issues/206
# [WARNING] Use solely ASCII symbols in this file that use Peru in AppVeyor:
# https://github.com/appveyor/ci/issues/2129#issuecomment-728945083
# [LEARN][PERU] Directories where files will be uploaded
imports:
pelican-plugins: &plugins_path pelican-plugins
just-table: *plugins_path
# [INFO] Here I replaced original repository name
# "pelican-open_graph" to "open_graph"
# [LEARN][YAML][NOTE] I can't concatenate variable and string in YAML
# as "*plugins_path/open_graph":
# https://stackoverflow.com/a/5954748/5951529
open-graph: pelican-plugins/open_graph
git module pelican-plugins:
url: https://github.com/getpelican/pelican-plugins
# [LEARN][PERU] Don't download pelican-plugins submodules
# [PURPOSE] This significantly reduces the time:
# https://github.com/buildinspace/peru#module-types
# https://github.com/buildinspace/peru/issues/204
# [NOTE] Don't install submodules from "getpelican/pelican-plugins".
# You can"t do it if "submodules: false".
# Install submodules for GitHub repositories directly
submodules: false
# [LEARN][PERU] Folders for downloading:
# https://github.com/buildinspace/peru#rules
pick:
- interlinks
- neighbors
- section_number
# [INFO] sitemap migrated to Pelican Plugins organization and now can installed via pip:
# https://github.com/pelican-plugins/sitemap
# [LEARN][PELICAN] It "namespace plugin" in the Pelican terminology:
# https://docs.getpelican.com/en/stable/plugins.html#how-to-use-plugins
# - sitemap
# [DONE]
# [PATCH] https://github.com/whiskyechobravo/pelican-open_graph/pull/19
git module open-graph:
url: https://github.com/whiskyechobravo/pelican-open_graph/
# [DONE]
# [PATCH] https://github.com/burakkose/just_table/pull/9
git module just-table:
url: https://github.com/burakkose/just_table
# [LEARN][PERU] Specific branch, tag or commit:
# https://github.com/buildinspace/peru#git-hg-svn
# rev: KiraPatchAllGenerators
# [LEARN][PERU] Rename original folder name to required:
# https://github.com/buildinspace/peru/issues/205#issuecomment-528948901
move:
pelican_just_table: just_table
# [REQUIRED] Moved, not original folder name here
# https://github.com/buildinspace/peru/commit/9258b573100c8efc208668741151be621567707b
pick: just_table