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

Link from Docbook dev docs to Markdown files #20530

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JanZerebecki
Copy link

There seems to be a hesitance of adding developer documentation.
Hopefully this makes it clear that people can just add Markdown files.

This should also ensure that people reading the website do not miss the
docs only in the source.

The intent of putting it in the subtitle, even when that is not
semantically ideal, is to have this visible also on the table of
contents page.

There seems to be a hesitance of adding developer documentation.
Hopefully this makes it clear that people can just add Markdown files.

This should also ensure that people reading the website do not miss the
docs only in the source.

The intent of putting it in the subtitle, even when that is not
semantically ideal, is to have this visible also on the table of
contents page.
Copy link
Member

@martinpitt martinpitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, and sorry for the really late reply!

Let's discuss this a bit to make this tasteful and useful.

@@ -53,6 +53,7 @@

<part id="development">
<title>Developer Guide</title>
<subtitle>See also the documentation in <ulink url="https://github.com/cockpit-project/cockpit/tree/main/doc">the .md files directly in the doc folder of the cockpit source</ulink> and <ulink url="https://github.com/cockpit-project/cockpit/blob/main/HACKING.md">the HACKING.md file in the source</ulink>. These are currently not rendered here, but only the content of the folder doc/guide in the source is rendered here. Help is welcome in converting this documentation from Docbook XML to Markdown and merging these.</subtitle>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Squeezing this into the subtitle is too much of an abuse:

image

How about moving that into a new sub-file and including it here like the others?

Also, HACKING.md doesn't really belong here. This developer guide is about the cockpit API, i.e. how to use it to create your own pages. HACKING.md is about developing on cockpit itself. I don't mind much mentioning it here somewhere, but this is too prominent and distracting.

tree/main/doc is more useful, in particular protocol.md, but also the other files.

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

Successfully merging this pull request may close these issues.

2 participants