-
Notifications
You must be signed in to change notification settings - Fork 311
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
Serve script documentation #1919
Conversation
running |
93b1460
to
d7788e0
Compare
I made a few edits on the |
@mugizico Love the idea of talking with the Writing Lab! |
Thanks @gemfarmer! turns out since @coreycaitlin is already part of our team, she will be looking it over for us. |
My commit updates the documentation trilogy: README:
CONTRIBUTING:
LICENSE: In reviewing this, I spotted some inaccuracies, and worked with @brittag to fix them. This file now:
Definitely want review from @gboone and/or @elainekamlley before merging this. |
Note: These files will need further refinement, but these were big enough changes that I wanted to get them reviewed and discussed before heading too much further down this path. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, left a few comments to examine before we merge.
### Images | ||
- Will use `<svg>` and `xlink` (looking for link) for icons. | ||
- All blog images should be under 800kb in total, un-minified size. | ||
This is a repo to design a beta version of 18f.gsa.gov using the [U.S. Web Design Standards](https://standards.usa.gov/) and to completely refresh most of the content. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's clarify this to indicate this repo is for 18f.gsa.gov, not a beta version. This is my bad, should have caught that before relaunching the site.
|
||
Additionally, we waive copyright and related rights in the work | ||
worldwide through the CC0 1.0 Universal public domain dedication. | ||
* Open source work that are not in the public domain |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be?
"Open source works…"
|
||
To dramatically speed up rebuild times (from more than 20 seconds to around 5), you can also run `./serve` or `./build` for step 4. These are shorthand for a combination of commands that disable certain plugins. This is especially useful if you're drafting a blog post or formatting single pages. **With this method you will disable search and all archives.** | ||
To enable the ability to search and see archives, you can run `bundle exec jekyll serve` instead of `./serve` for the server start command. This will **slow down rebuild times dramatically**, so use this command with discretion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will users still have to clear out an environment variable when they switch from ./serve
to the standard bundle exec
command?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't answer this one, sadly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yeah, meant to tag @gemfarmer and @mugizico on this one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I switch between using ./serve
and bundle exec jekyll serve
without clearing out an environment variable. Although, I am not sure if this is related to an earlier issue (before I joined this team)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤔 Maybe this is a non-issue that I invented for myself. Never mind!
For #1914
@mugizico I forgot that I had started doing this work. Here it is for reference.