Skip to content

tools: the docserve make target doesn't seem to finally serve #34977

Closed
@DerekNonGeneric

Description

  • Version: n/a
  • Platform: Debian 10 WSL
  • Subsystem: tools

What steps will reproduce the bug?

Simply clone the repo and run make docserve.

How often does it reproduce? Is there a required condition?

Always.

What is the expected behavior?

To actually serve the static documentation pages.

What do you see instead?

image

Additional information

It's possible that this issue should be in @nodejs/help, but I'm somewhat convinced that this is indeed a bug in the Makefile code since this doesn't work using Python 2.7.16. If it's supposed to be Python 3 code, perhaps we should force that to make this work, but at the same time, I don't understand why the command is so complex. Shouldn't it just be the following?

python -m SimpleHTTPServer 8000

Refs: https://docs.python.org/2/library/simplehttpserver.html

/cc @aduh95 as was the one who introduced this feature in #33221

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    buildIssues and PRs related to build files or the CI.toolsIssues and PRs related to the tools directory.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions