pdoc3 / pdoc3/pdoc

Include pages (e.g. notebooks)

Open
#115 8 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
1.2k
Forks
146
PR merge metrics
No merged PRs in 30d

Description

It would be nice to be able to include pages to the docs with the same menu as in the index.

Expected Behavior

A notebook included to the docs.

Actual Behavior

Currently, I export the notebook to HTML with a template that contains the hard-coded TOC:

An HTML notebook with a hard-coded TOC

Additional info
  • pdoc version: 0.6.3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing pdoc's documentation-generation and navigation code, then compare it with the linked nbconvert custom-template approach. The work is done when notebook or other included pages appear in the generated docs using the same menu as the index; no specific source files or tests are named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
documentation
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.