Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove site url default from generator #407

Merged
merged 1 commit into from Oct 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 0 additions & 2 deletions .vscode/tasks.json
Expand Up @@ -162,8 +162,6 @@
"command": "htmlproofer",
"args": [
"--ignore-urls=https://fonts.gstatic.com,https://twitter.com/althack",
"--ignore-files=./site/404.html",
"--swap-urls=^.*/althack.dev/mkdocs-simple-plugin/:/",
"./site"
],
"dependsOrder": "sequence",
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -30,11 +30,11 @@ You may be wondering why you would want to generate a static site for your proje

Finally, you may be interested in this plugin if you have a desire for easy-to-generate stylized documentation. This plugin lets you take documentation you may already have -- either in markdown files or in your code -- and formats them into a searchable documentation website. You can keep your documentation where it is (thank you very much).

See [mkdocs-simple-plugin](https://althack.dev/mkdocs-simple-plugin/mkdocs_simple_plugin/plugin) for usage.
See [mkdocs-simple-plugin](https://althack.dev/mkdocs-simple-plugin/latest/mkdocs_simple_plugin/plugin) for usage.

## Contributing

See the [contributing guide](https://althack.dev/mkdocs-simple-plugin/CONTRIBUTING)
See the [contributing guide](https://althack.dev/mkdocs-simple-plugin/latest/CONTRIBUTING)

## License

Expand Down
1 change: 0 additions & 1 deletion examples/ok-with-macros/example.grepout
Expand Up @@ -11,7 +11,6 @@ plugins:
- macros:
verbose: true
edit_uri: ''
site_url: http://localhost
extra:
test: true

Expand Down
1 change: 0 additions & 1 deletion examples/ok-with-macros/module.grepout
Expand Up @@ -13,7 +13,6 @@ plugins:
- macros:
verbose: true
edit_uri: ''
site_url: http://localhost
extra:
test: true

Expand Down
4 changes: 2 additions & 2 deletions mkdocs.yml
Expand Up @@ -5,9 +5,9 @@ plugins:
- awesome-pages
- macros
- search
- mike
- mike:
canonical_version: latest
edit_uri: ''
site_url: https://althack.dev/mkdocs-simple-plugin
hooks:
- examples/gen_readme.py
repo_url: https://github.com/athackst/mkdocs-simple-plugin
Expand Down
2 changes: 0 additions & 2 deletions mkdocs_simple_plugin/generator.py
Expand Up @@ -53,8 +53,6 @@ def default_config():
# and may not exist.
config['edit_uri'] = ''

config['site_url'] = 'http://localhost'

def maybe_set_string(name):
env_variable = "INPUT_" + name.upper()
config_variable = name.lower()
Expand Down