Skip to content

Content reuse: JSON toc linking support #6

@sefuhrer

Description

@sefuhrer

We need a better way to share content that lives in separate repos via links in TOC.

  1. We want to be able to cross-link to content
  2. We want to be able to reuse or pull content into a toc

Example of what MS does: https://dotnet.github.io/docfx/tutorial/intro_toc.html#link-to-another-toc-file

Use case:

  1. We have many cli plugins at /docs root today: https://dev.console.test.cloud.ibm.com/docs/container-registry-cli-plugin/container-registry-cli.html
  2. We want to be able to pull the plugin content into the toc and point to them from /cli
    At this link :https://dev.console.test.cloud.ibm.com/docs/cli/plugins/auto-scaling/index.html#autoscalingcli, auto-scaling is building today inside /cli (content is physically nested) so of course toc works, its just nested, but pointing off to container-registry-cli-plugin which lives at /docs/ root in its own folder, does not.

https://github.ibm.com/Bluemix-Docs/cli/blob/staging/toc
Right now using relative path will not work, and toc link for xml has no correlative to json:
[Container Registry CLI plug-in](../container-registry-cli-plugin/container-registry-cli.html)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions