wp-simple-saml icon indicating copy to clipboard operation
wp-simple-saml copied to clipboard

Documentation: adoption of docsify for documentation pages

Open allysonsouza opened this issue 1 year ago • 6 comments

Since our just-the-hm-docs is not being updated in a while and it's not compiling with the latest Ruby/Jekyll, I thought about this as an opportunity to adopt a third-party, easy to setup and updated solution, it's when I've found docsify, which seems to work really nice.

This way we could get rid of wiki, concentrating documentation on the same repository as code.

allysonsouza avatar Jan 24 '25 00:01 allysonsouza

Not come across this before. Do we publish docsify via GitHub pages? Is there an action or something we can use for that?

Also rather than duplicating the README.md, GitHub will look in docs/ for a readme if there isn't one in the root directory.

roborourke avatar Jan 24 '25 13:01 roborourke

I guess it's statically built locally and served trough /docs dir, so we should just point the repository settings to a branch and this directory.

allysonsouza avatar Jan 27 '25 12:01 allysonsouza

Which repository settings are you referring to?

roborourke avatar Jan 27 '25 13:01 roborourke

I based my answer from this article section: https://judy.hashnode.dev/how-to-build-a-documentation-site-with-docsify-and-github-pages#heading-deploying-your-site-with-github-pages

allysonsouza avatar Jan 27 '25 13:01 allysonsouza

We discussed updating or replacing this pull request to use just-the-hm-docs instead of docsify for consistency with other projects. However, the documentation updates in this branch (to the "Testing SSO Locally" page) should be preserved.

goldenapples avatar Feb 06 '25 17:02 goldenapples

@goldenapples if it's unlikely just-the-hm-docs will be updated any time soon I think for the sake of pragmatism just having readmes available is fine.

roborourke avatar Feb 07 '25 16:02 roborourke