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

Move documentation in text files to wiki #27

Open
izmeez opened this issue Oct 4, 2024 · 6 comments
Open

Move documentation in text files to wiki #27

izmeez opened this issue Oct 4, 2024 · 6 comments
Labels
type - documentation Improvements or additions to documentation

Comments

@izmeez
Copy link
Contributor

izmeez commented Oct 4, 2024

There is a lot of documentation in text files in the module repository such as README.txt INSTALL.txt and INSTALL_QUICKSTART.txt that can be copied to the wiki.

The text files have been copied to the wiki with amending as needed. The wiki pages should be reviewed and if confirmed the text files in the repository may be removed.

@izmeez
Copy link
Contributor Author

izmeez commented Oct 4, 2024

The wiki Home needs to be deleted and replaced with 1. Domain module wiki as the starting page.

I think, initially, I did copy the new text into the existing home page but when it was saved a new page was created and a stub left of the original page, may be just the title. If anyone knows how to delete the page and reset the home link?

@yorkshire-pudding yorkshire-pudding added the type - documentation Improvements or additions to documentation label Nov 8, 2024
@stpaultim
Copy link
Member

I am in agreement that the WIKI is probably a better place for this information and easier for more people to contribute.

I would organize and label the wiki pages a bit better. Maybe put all of these new pages as childen of a parent page that will help people navigate them better. Right now, I think we have one very long list of wiki pages and it's hard for me to find what I'm looking for.

@izmeez
Copy link
Contributor Author

izmeez commented Nov 8, 2024

@stpaultim Can you provide a link to an example of a wiki with the structure you are proposing? I deliberately avoided nesting pages as parent/child to reduce navigation and visibility of the topics.

Also, I am not yet convinced that it is better to have this documentation in a wiki rather than included with the module, possibly in a /docs folder. One problem I have encountered is that it does not seem possible to search the wiki for keywords. Maybe I need a pointer on how to do that? If the docs are part of the module then tools like VSCode will handle this easily.

@yorkshire-pudding
Copy link
Collaborator

@izmeez - it is possible to do both. That is what I have done in Bee. There is a GitHub Action in bee that updates the wiki whenever the files in the /docs folder are changed. I agree that wikis are not possible to search. Something else, which I'm thinking about for bee (that could also work here) is https://about.readthedocs.com/ - this would also work from the /docs folder

@izmeez
Copy link
Contributor Author

izmeez commented Nov 9, 2024

@yorkshire-pudding I took a closer look at the docs and wiki for Bee and really like that. I would be in favour of a similar approach for the domain module.

@yorkshire-pudding
Copy link
Collaborator

@stpaultim @rudy880719 @sudipto68
Do you have any thoughts on the proposal to move the wiki to a docs folder with a GitHub Action to push changes to the Wiki?

Here are the pros and cons I outlined when I did this for bee (not that anyone responded to that):

Pros

  1. Allows wiki changes to be drafted as part of a pull request
  2. Wiki can be drafted using an IDE which will be more user friendly than the edit window for long pages.
  3. Less likely to forget to do wiki changes after the merge if need to be done at the same time
  4. Ties documentation changes to changes in functionality, behaviour, or any other changes so the docs in a given version installed would match the functionality in that version.
  5. Would make it easier to add screenshots to the wiki as could have subfolder for images
  6. locked down wikis can be indexed by Google, although we need a few more stars

Cons

  • Would need to lock down the wiki as any changes made on the wiki screen would be lost on the next merge. There have been no wiki edits by people who wouldn't know how to do a PR so I'm not sure this would be a problem.
  • Different workflow may take a bit of getting used to (I don't think any other backdrop projects do this)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type - documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants