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

How should we document Wakaama #732

Closed
LukasWoodtli opened this issue Nov 2, 2023 · 9 comments
Closed

How should we document Wakaama #732

LukasWoodtli opened this issue Nov 2, 2023 · 9 comments

Comments

@LukasWoodtli
Copy link
Contributor

The Wakaama project needs documentation. There has already been some discussion about that in #729.

We should come to a conclusion about:

  • What do we want to document
    • Code
    • Examples/Tutorials
    • Technical details
  • Where do we want to put our documentation
  • What technology/markup language are we going to use for documentation
    • Markup language: Markdown, reStructuredText, asciidoc, ...
    • Documentation generator: Sphinx, static site generators, ...
    • Code/API documentation tool: Doxygen
@sbernard31
Copy link
Contributor

I resume my opinion from #729 discussion.

  1. I strongly advice to put documentation in code repository,
  2. I strongly advice to use Markup language supported by Github,
  3. No urgency to use tooling to generate static web site, Github rendering is largely enough in first time. (better to focus on code and documentation content)

This is just advises, so up to active committers to decide 🙂 .

@sbernard31
Copy link
Contributor

@LukasWoodtli what you call GitHub page is Github Wiki ?
(Not directly linked bu there is already very few page in Wakaama wiki. )

@LukasWoodtli
Copy link
Contributor Author

@LukasWoodtli what you call GitHub page is Github Wiki ? (Not directly linked bu there is already very few page in Wakaama wiki. )

No GitHub has web server functionality for project pages: About GitHub Pages

This is a convenient way to provide information about a project hosted on GitHub.

@LukasWoodtli
Copy link
Contributor Author

I resume my opinion from #729 discussion.

1. I strongly advice to put documentation in code repository,

2. I strongly advice to use Markup language supported by Github,

3. No urgency to use tooling to generate static web site, Github rendering is largely enough in first time. (better to focus on code and documentation content)

This is just advises, so up to active committers to decide 🙂 .

👍
Agree!

@LukasWoodtli
Copy link
Contributor Author

LukasWoodtli commented Nov 2, 2023

So my preference would be:

  • Use seStructuredText (or alternatively Markdown) as markup language.
  • Put documentation into the Wakaama repository.

Eventually/later:

  • Generate documentation page with Sphinx
  • Publish documentation page on GitHub pages
  • Document the code (public API) with Doxygen (industry standard) and also publish it on GithubPages

@boaks
Copy link

boaks commented Nov 2, 2023

I didn't follow all details, but for "publish it on GithubPages" I would first ask the Eclipse Foundation.
It may be considered to be related to marketing or SEO and then I guess, using the Eclipse way (e.g. Californium Web-Pages wold be preferred by the Eclipse Foundation. Anyway, I don't know it, so asking the foundation, if that hasn't been already done, would be the best.

@sbernard31
Copy link
Contributor

Not sure to get the benefits to use GithubPages instead of publishing on Wakaama website.
But if you really want to go that way later, I also recommend to ask to eclipse foundation if this is OK. (just to be sure)

About Wakaama website :

@LukasWoodtli
Copy link
Contributor Author

I had the impression, that the Eclipse Wakaama website is more static and includes general information where the GitHub page would be updated by each merge to the master branch with the newest developer documentation.

But maybe we can just publish everything on the Eclipse page.

I would discuss this as soon as we have any documentation to publish.

@LukasWoodtli
Copy link
Contributor Author

LukasWoodtli commented Feb 12, 2024

Conclusion:

  • Use reStructuredText as markup language.
  • Put documentation into the Wakaama repository.

Eventually/later:

  • Generate documentation page with Sphinx.
  • Publish documentation page on the Eclipse page.
  • Document the code (public API) with Doxygen and also publish it on the Eclipse page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants