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

Split docs into pages as opposed to one long page #320

Open
Juice10 opened this issue Aug 21, 2018 · 3 comments
Open

Split docs into pages as opposed to one long page #320

Juice10 opened this issue Aug 21, 2018 · 3 comments

Comments

@Juice10
Copy link
Contributor

Juice10 commented Aug 21, 2018

Currently all the documentation is on one long page. This was fine initially but now the amount of things we are documenting has outgrown our one pager.

We should split the documentation into multiple pages. This is better for SEO and makes it easier for people to link to different pages. Also currently we are using smaller and smaller headers for each sub-section, which is good because it shows visual hierarchy, but we are nesting so deep that the font sizes are getting super close to the normal text size.

Inspiration

I really like the Apollo docs, they have the same issues we have with regards to catering to different types of users, in their case their split is Client, Engine and Server. I think it would be good to borrow some inspiration from them with regards to our own docs.

Redux is another project that has lots of (nested) documentation, they added another navigation on the right side of the page. That could also be an option for us if we'd want to clean up the navigation a bit.

@mrutkows
Copy link
Contributor

@Juice10 actually, the long-term plan is not to "split" the page but make sections collapsible and look to add a documentation (road)map.

@Juice10
Copy link
Contributor Author

Juice10 commented Aug 22, 2018

@mrutkows would that fix the SEO and usability concerns?

@Juice10
Copy link
Contributor Author

Juice10 commented Aug 22, 2018

The downside with waiting with this is that when we do decided to split the docs into different pages, redirecting people is going to have to happen on the client side and which will mean that it won't get picked up by search engines that easily. The longer we wait the more comprehensive our redirects will have to get on the client side, because more people will start linking to our pages with the page anchors.

Examples of redirects I foresee needing to be put in place if we continue down the 'one long page' path for much longer.
http://openwhisk.org/documentation.html#wsk-cli-install => http://openwhisk.org/docs/wsk-cli-install
http://openwhisk.org/documentation.html#deploy_docker_compose => http://openwhisk.org/docs/deploy-docker-compose

Now the site is still fresh and young and the inbound (deep)links are still somewhat limited we have the chance to not get ourselves into too much technical (redirect) debt.

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

No branches or pull requests

2 participants