phpDocumentor / phpDocumentor/guides

How to deal with links to the code

Open
#1,090 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature markdown
Dominant language
PHP
Stars
36
Forks
22
Avg merge
2d 2h
Merged PRs (30d)
24

Description

Feature request

It seems to be quite common in Markdown to link to files that are not part of the actual documentation. The links can be outside of the root of the project like:

More information on running behaviour tests is available here: Behaviour tests

How should we deal with such links? Link them to Github?

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 how Markdown links are handled, using the example ../../Tests/Behavior/readme.md as the case to trace. Clarify whether links outside the documentation root should be rewritten to GitHub or handled another way, then define and test the agreed behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
markdown
Domain
documentation
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.