Skip to content

show full url when execute "make -C Doc/ serve" #80392

Closed

Description

@matrixise
BPO 36211
Nosy @matrixise, @JulienPalard, @Mariatta
PRs
  • bpo-36211: Change the output with the full URL when executing make -C Doc/ serve #12195
  • Superseder
  • bpo-36345: Doc: make serve uses http.server instead of Tools/scripts/server.py
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2019-03-18.14:32:16.624>
    created_at = <Date 2019-03-06.13:15:18.799>
    labels = ['3.8']
    title = 'show full url when execute "make -C Doc/ serve"'
    updated_at = <Date 2019-03-18.14:32:16.623>
    user = 'https://github.com/matrixise'

    bugs.python.org fields:

    activity = <Date 2019-03-18.14:32:16.623>
    actor = 'mdk'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-03-18.14:32:16.624>
    closer = 'mdk'
    components = []
    creation = <Date 2019-03-06.13:15:18.799>
    creator = 'matrixise'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36211
    keywords = ['patch']
    message_count = 1.0
    messages = ['337300']
    nosy_count = 3.0
    nosy_names = ['matrixise', 'mdk', 'Mariatta']
    pr_nums = ['12195']
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '36345'
    type = None
    url = 'https://bugs.python.org/issue36211'
    versions = ['Python 3.8']

    Activity

    1. matrixise commented on Mar 6, 2019

      @matrixise
      MemberAuthor

      If we want to check the result of the compilation for the documentation, we can use open build/html or make serve

      ./configure --prefix=$PWD/build
      make -j 4
      make PYTHON=../python -C Doc venv
      make PYTHON=../python -C Doc html serve

      Here is the current output:
      make: Entering directory '/home/stephane/src/github.com/python/cpython/Doc'
      ../Tools/scripts/serve.py build/html
      Serving build/html on port 8000, control-C to stop

      I suggest this output:

      Serving build/html on 0.0.0.0 port 8000 (http://0.0.0.0:8000/), control-C to stop

      With this change and if the terminal supports the URL, we can click on the link.

    2. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions