Repository navigation
📝 improve contributing documentation - #2104
Conversation
|
Does this affect the compilation instructions in the docs? Should we be maintaining both or does that risk discrepancies arising between them? |
|
My idea is to move all the Compilation.md into Contributing.md, and only have in Compilation a link to the corresponding section of contributing (just if somebody clicks on a old link going to that file). This way we have all the info for contributing, and compilation under a better context |
|
Yes, I think that's reasonable. Perhaps we also need links from the docs, for those looking for additional information. Currently, the Windows installation doesn't even mention compilation. On the other hand, there's an argument for not overloading the user documentation, and just leave the GitHub pages for enthusiasts to find. |
|
After some thought I think it would be best to open a section in the documentation to developers. On a first glance, I thought that it would be easier to have not only the compilation instructions but everything a contributor needs all in one markdown file, under the It's an extra effort to have a documentation in a browser, but I think it's nearly impossible to develop espanso without reading the documentation at all So we can complete the two objectives in one if we add a development section in the docs. What do you think? |
|
I think my view above is unchanged. The docs cater to users, the github readme, to developers. They're two different audiences. |
|
I still stand on the documentation page for everyone, both users and developers (under different sections for each type of user, of course). Nonetheless I understand the difference between a "simple" user documentation and the implementation specifications. In most scenarios this is usually a talk between two developers. I gave it some thought and I think I can be okay with a mdbook like I have to refactor a bunch of code then 😁 |
There was a problem hiding this comment.
That all makes sense.
I think the Contents section should be expanded at first glance - it's short, and I overlooked it on first read-through, and the PR section doesn't easily follow the Compilation section without it.
Once merged, I think I should link to the document from the docs, although it would require two additions to https://espanso.org/docs/install/linux/, plus new mentions in https://espanso.org/docs/install/mac/ and https://espanso.org/docs/install/win/.
|
Yup. This new form of documentation triggers a new way of thinking: What do we write for everyone (users of the app) and what is considered "technical" documentation? |
|
It's ready to review! |
Minor spelling corrections
smeech
left a comment
There was a problem hiding this comment.
That all makes sense. I haven't attempted to "buiild the book", however.
I have corrected a couple of typos in https://github.com/espanso/espanso/pull/2104/files#diff-5eee5bef90d4b33e6fbfaf7d89e3f9fa91fb3fe909211f2f2043891c23f2b351 and couldn't resist the temptation to capitalise the proper noun "Rust" although I see that puts me out of line with the occurrences in other files.
|
Haha, don't worry! I checked and there are no missing lowercase |
|
@smeech Whenever you say, I'll land this PR 🙌🏼 |
Yes, go for it. |
|
Where's |
|
Whoops, those are things I did in the process, and decided to roll back after I saw how little use for us were. This is like when you print your final project at school and you realize you made a typo in the front page 🤣 . |
* 📝 update documentation * ✨ introduce clang-tidy and clang-format * 🔥 remove clangs * 🚚 leave a note * ✨ feature developer docs in `mdbook` * 📝 add cargo outdated * 👷 exclude the path `docs/` from the CI * 📝 expand the README of docs * 📝 move contributing into a splitted documentation * 📝 restore dev cookbok * 🔥 remove mdbook-pagetoc * 🚚 leave a new note to the docs/ folder * 🍱 add picture of the espanso dev docs * 🚨 fix clippy lints * 🚨 fix the unlock clippy lint * Update ch01-general-guidelines.md Minor spelling corrections * ✏️ tiny rust for big Rust ---------
We have nowadays two documents to guide new and current contributors how to help the project, Contributing.md and Compilation.md.
This PR has the objective to merge those two in one single file
(I mistakenly closed #2027 )