Skip to content

Commit

Permalink
Remove site url default from generator
Browse files Browse the repository at this point in the history
  • Loading branch information
athackst committed Oct 2, 2022
1 parent 48f2b62 commit b99019e
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 10 deletions.
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

0 comments on commit b99019e

Please sign in to comment.