Skip to content

Integration with mkdocs example does not work out of the box! #38

@stratosgear

Description

@stratosgear

I followed the example setup described in https://entangled.github.io/mkdocs-plugin/ and I was not getting what I was expecting.

For example, I added the very simple example defined in https://entangled.github.io/mkdocs-plugin/#annotate-code-blocks I was following, but the python source files were not generated. I thought it was a matter of restarting the mkdocs serve command but still no python file generated.

I had to open a separate terminal and run there: entangled watch to get the behavior I was expecting, meaning the creation of a example/hello_world.py file (although, following along the mkdocs init example, I would expect the file to be named: src/example_package/hello_world.py so that it would end up in the source folder already created from mkdocs, but I divert)

Isn't it the idea to trigger the entangled functionality through the mkdocs hook? Or maybe the instructions miss a step that explains that a separate process needs to run in parallel?

Not sure what is the intended usage here.

Nonetheless I'm thrilled if I can get this to work smoothly! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions