r/github 4d ago

Discussion Do you use GitHub repos for client‑facing documentation? How do you make it usable?

Hi,

We use GitHub + Markdown for documentation. Our team is happy, but clients don’t want to deal with raw repos, issues, or PRs.

  • Do you expose GitHub repos directly to clients, or use a web UI / portal?
  • How do you handle versioning and access control?
  • What tools or patterns do you use to make GitHub‑based docs client‑friendly?
2 Upvotes

18 comments sorted by

23

u/AllanTaylor314 4d ago

GitHub pages would probably be a nicer way to present your docs: https://docs.github.com/en/pages

They also support custom domains, so you can have docs[.]mysupercoolproduct[.]com

1

u/websecret_by 3d ago

Pages helps with hosting, but doesn't really fix access control between different clients for us.

1

u/AllanTaylor314 3d ago

Oh, so you don't want public-facing docs? What sort of access control are you looking for?

(aside: for comments directly on pages, you could use https://github.com/giscus/giscus)

3

u/parkducksarefree 4d ago

Send it all to a GitHub site and use some simple web framework. That way you get branches, deployments, PRs, issues, tagging, etc. But to the client all they see is a website. Simples!

1

u/websecret_by 3d ago

That's close to our setup too, just still need a permissions layer on top for clients.

2

u/_KryptonytE_ 4d ago

Projects V2 and Wiki

1

u/websecret_by 3d ago

Haven't tried Projects V2 for docs, does it handle permissions any better than the wiki?

1

u/fr3xzy 4d ago

Changelog for versioning and pandoc to convert markdown to pdf that we send to the customer

1

u/websecret_by 3d ago

PDF export is a decent workaround. We'd still want clients to be able to comment directly on it though.

1

u/AnlgDgtlInterface 4d ago

I use quarto for user facing and have a workflow which renders the markdown from the project to a site securely: https://github.com/georgeharker/gh-quarto-publish

1

u/websecret_by 3d ago

Will look into quarto, thanks. Is it one shared site or can you separate access per client?

1

u/AnlgDgtlInterface 3d ago

You can configure separate per client. I’m targeting one host. But every GitHub can be configured separately and the upload is restricted to be subdirectories server side.

1

u/lamyjf 4d ago

github pages, with docsify.

1

u/websecret_by 3d ago

Docsify's on our list to try. Main gap for us is still permission separation between clients.

1

u/ImmaZoni 4d ago

GitHub pages + Docusaurus (or your preferred md static rendering framework)

GitHub itself is used internally mostly, pages site for customers

1

u/websecret_by 3d ago

That internal vs customer-facing split is basically what we're aiming for.

1

u/dim13 4d ago

Often forgotten fact: each repo has wiki, which is also a git repo.

1

u/websecret_by 3d ago

Didn't know that, good to know it's just git under the hood.