[Feature]: Unified repo and docs site documentation

Open
#2,069 5 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
typescript

Research direction

Begin by finding the existing docs-site redirect implementation and any tests for library sources. Determine where a single source is represented, then define the multi-source behavior and verify that both repository and docs-site content can be attached to one library.

Written by the indexing model from the issue text.

Description

enhancement
Problem Description

Many libraries, including mine, don't have all of their documentation available in the repo. Some of it is generated when publishing a docs site, or permanently lives on external sites.

While context7 does support redirecting to the docs site, sometimes there is information in the repository that is not in the docs site, and the repository is often much easier to parse.

Proposed Solution

Instead of forcing us to use either the docs site or the repository, it would be helpful if we could attach multiple sources (e.g. repo, docs site) to a single library.

Alternatives Considered

No response

Priority

Would improve my workflow

Additional Context

No response

Dominant language
TypeScript
Stars
64.3k
Forks
3.2k
Avg merge
1d 19h
Merged PRs (30d)
145

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from upstash/context7

All issues in upstash/context7

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.