Skip to content

--html works but --http doesn't #33

Closed
@nicolaskruchten

Description

@nicolaskruchten

Expected Behavior

Static and live generation should work the same way.

Actual Behavior

In my project I can run pdoc my_module --html and it runs fine, generating HTML etc but while pdoc my_module --http localhost:8080 starts the web server, the page fails to render with ModuleNotFoundError: No module named 'my_module'

Steps to Reproduce

  1. git clone [email protected]:plotly/plotly_express.git (maybe install some deps)
  2. pdoc plotly_express --html vs pdoc plotly_express --http localhost:8080

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions