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 website into separate folder #343

Merged
merged 11 commits into from
Jul 10, 2019

Conversation

i-like-robots
Copy link
Contributor

@i-like-robots i-like-robots commented Jun 19, 2019

This PR is intended to help resolve some of the issues raised in #340, #274, and #177 by moving the documentation website into its own top-level folder with its own install and build scripts.

Installing and building the documentation website is slow, it increases the initial project install and build times by approximately 40-50%. However because using the docs website is not a day-to-day part of the workflow when building x-dash components this has caused a lot of wasted time and battery power. This wasted time and energy is the most common gripe that I hear from developers working with x-dash.

On my (home) machine this change decreases the total time from fresh clone to ready to go from ~3 mins to ~1 minute.

With this change the documentation website will no longer be installed and built by default (i.e. when running make install build) or included in tasks run using Athloi. Instead, using the docs site can be done using the following commands:

npm run install-docs
npm run build-docs

This change also ensures the documentation website will only be installed and built on CI when required rather than on every branch build, hopefully saving further time and energy.

Initially Bren and I wanted the docs website to be a core part of the x-dash workflow but it's not turned out this way. It's clearly an area that needs to be revisited and revised. By putting it to one side I hope we can immediately decrease some friction working with x-dash.

Please let me know what you think!

@i-like-robots i-like-robots added documentation A problem with how something is documented (or, not) housekeeping Cleaning things up labels Jun 19, 2019
apaleslimghost
apaleslimghost previously approved these changes Jul 10, 2019
Copy link
Member

@apaleslimghost apaleslimghost left a comment

Choose a reason for hiding this comment

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

looks good! you'll need to deactivate the x-docs snyk project to get it passing

@i-like-robots i-like-robots merged commit 498902f into master Jul 10, 2019
@i-like-robots i-like-robots deleted the matth/move-x-docs branch July 10, 2019 16:00
rowanbeentje pushed a commit that referenced this pull request Nov 24, 2021
Move documentation website into separate folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation A problem with how something is documented (or, not) housekeeping Cleaning things up
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants