File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ def build(ctx: PulpDocsContext):
99
99
pulpdocs = ctx .pulp_docs
100
100
101
101
config .verbose = True
102
+ config .disabled = ""
102
103
103
104
dry_run = True if config .test_mode else False
104
105
pulpdocs .build (config , dry_run = dry_run )
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ plugins:
42
42
- search
43
43
- site-urls
44
44
- blog :
45
- blog_dir : pulp-docs/docs/sections/ blog
45
+ blog_dir : blog
46
46
blog_toc : false
47
47
- macros :
48
48
module_name : ' ../mkdocs_macros'
Original file line number Diff line number Diff line change @@ -125,11 +125,11 @@ def download(
125
125
log .info (f"{ log_header } : source={ download_from } , copied_from={ src_copy_path } " )
126
126
127
127
# ignore files lisetd in .gitignore and files that starts with "."
128
+ # shutil ignore limitation: https://github.com/Miserlou/Zappa/issues/692#issuecomment-283012663
128
129
ignore_patterns = get_git_ignored_files (Path (src_copy_path )) + [".*" ]
129
130
130
131
# skip blog for faster reloads
131
132
if self .name == "pulp-docs" and "blog" in disabled :
132
- # limitation: https://github.com/Miserlou/Zappa/issues/692#issuecomment-283012663
133
133
ignore_patterns .append ("*posts" )
134
134
135
135
shutil .copytree (
You can’t perform that action at this time.
0 commit comments