mkdocs-simple-plugin 3.2.0__tar.gz → 3.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mkdocs_simple_plugin-3.2.0 → mkdocs_simple_plugin-3.2.2}/PKG-INFO +2 -2
- {mkdocs_simple_plugin-3.2.0 → mkdocs_simple_plugin-3.2.2}/mkdocs_simple_plugin/plugin.py +10 -5
- {mkdocs_simple_plugin-3.2.0 → mkdocs_simple_plugin-3.2.2}/.gitignore +0 -0
- {mkdocs_simple_plugin-3.2.0 → mkdocs_simple_plugin-3.2.2}/LICENSE +0 -0
- {mkdocs_simple_plugin-3.2.0 → mkdocs_simple_plugin-3.2.2}/README.md +0 -0
- {mkdocs_simple_plugin-3.2.0 → mkdocs_simple_plugin-3.2.2}/mkdocs_simple_plugin/.pages +0 -0
- {mkdocs_simple_plugin-3.2.0 → mkdocs_simple_plugin-3.2.2}/mkdocs_simple_plugin/README.md +0 -0
- {mkdocs_simple_plugin-3.2.0 → mkdocs_simple_plugin-3.2.2}/mkdocs_simple_plugin/__init__.py +0 -0
- {mkdocs_simple_plugin-3.2.0 → mkdocs_simple_plugin-3.2.2}/mkdocs_simple_plugin/generator.py +0 -0
- {mkdocs_simple_plugin-3.2.0 → mkdocs_simple_plugin-3.2.2}/mkdocs_simple_plugin/semiliterate.py +0 -0
- {mkdocs_simple_plugin-3.2.0 → mkdocs_simple_plugin-3.2.2}/mkdocs_simple_plugin/simple.py +0 -0
- {mkdocs_simple_plugin-3.2.0 → mkdocs_simple_plugin-3.2.2}/pyproject.toml +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: mkdocs-simple-plugin
|
|
3
|
-
Version: 3.2.
|
|
3
|
+
Version: 3.2.2
|
|
4
4
|
Summary: Plugin for adding simple wiki site creation from markdown files interspersed within your code with MkDocs.
|
|
5
5
|
Project-URL: Documentation, http://www.althack.dev/mkdocs-simple-plugin
|
|
6
6
|
Project-URL: Homepage, http://www.althack.dev/mkdocs-simple-plugin
|
|
@@ -335,11 +335,15 @@ class SimplePlugin(BasePlugin):
|
|
|
335
335
|
# Read previous config first so updates don't get overwritten
|
|
336
336
|
config_site_dir = get_config_site_dir(config.config_file_path)
|
|
337
337
|
|
|
338
|
-
#
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
338
|
+
# If the build_dir isn't set by the user,
|
|
339
|
+
# set it to one of the following locations:
|
|
340
|
+
if not self.config['build_dir']:
|
|
341
|
+
if self.config['merge_docs_dir']:
|
|
342
|
+
# the build_dir to the docs_dir if merging
|
|
343
|
+
self.config['build_dir'] = config['docs_dir']
|
|
344
|
+
else:
|
|
345
|
+
# or a temp directory
|
|
346
|
+
self.config['build_dir'] = self.tmp_build_dir
|
|
343
347
|
|
|
344
348
|
utils.log.info(
|
|
345
349
|
"mkdocs-simple-plugin: build_dir: %s",
|
|
@@ -392,6 +396,7 @@ class SimplePlugin(BasePlugin):
|
|
|
392
396
|
dest_dir=config.site_dir,
|
|
393
397
|
use_directory_urls=config["use_directory_urls"]
|
|
394
398
|
)
|
|
399
|
+
file.generated_by = "mkdocs_simple_plugin"
|
|
395
400
|
if file.src_uri in files.src_uris:
|
|
396
401
|
files.remove(file)
|
|
397
402
|
files.append(file)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mkdocs_simple_plugin-3.2.0 → mkdocs_simple_plugin-3.2.2}/mkdocs_simple_plugin/semiliterate.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|