Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guidelines for writing documentation #1416

Open
krnowak opened this issue Dec 21, 2020 · 2 comments
Open

Guidelines for writing documentation #1416

krnowak opened this issue Dec 21, 2020 · 2 comments
Labels
documentation Provides helpful information enhancement New feature or request

Comments

@krnowak
Copy link
Member

krnowak commented Dec 21, 2020

Currently we have three places where we can put documentation:

  • opentelemetry.io website
  • README.md of every go module
  • package documentation (usually in doc.go)

I think we need to find out what kind of documentation we have (API docs, guides, contribution guidelines, project-wide information, …), what are the targets of the documentation (contributors, instrumentation developers, application developers, …) and decide where each kind of docs should be put. Currently there is a quickstart guide on the website, but also there are some "quickstart guide" like docs for the exporters in READMEs.

This is a bit of a mess that can easily lead to duplication.

I suppose that the result of resolving this issue would be a document with guidelines for writing documentation for otel-go.

@MrAlias MrAlias added documentation Provides helpful information enhancement New feature or request priority:p2 labels Jan 7, 2021
@leewei05
Copy link

@krnowak Hi, I'm Lee. I want to contribute to open-telementry by writing documentation.
Is there anything I can do to help resolving this issue? :)

@MrAlias
Copy link
Contributor

MrAlias commented Jan 28, 2021

@leewei05 I would hold off on taking this issues as it isn't so much about writing documentation as it is restructuring and defining where documentation is kept.

From the SIG meeting today:

  • README.md should be a high-level developer centric source of information. It should contain what new developers using OTel or wanting to contribute to this project need to know. This will likely include a lot of linking.
  • The opentelemetry.io website should be hold the "quickstart" type guides. This has the benefit of being HTML that can be linked or embedded and will likely be the entry point for new users of OTel. Any code in these docs needs to be versioned so new users pulling the default branch are not left with a broken example. Additionally, our local developer docs (maybe the release process guide?) need to have a step to keep things in sync.
  • The Go docs (e.g. package, type, func) need to contain information for developers using the code. All examples should be kept as example tests. That way the code will be verified that it compiles and properly rendered on the Go docs site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Provides helpful information enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants