No description, website, or topics provided.
CSS HTML JavaScript Shell
Latest commit cd84aff May 27, 2017 @ohemorange ohemorange committed on GitHub Merge pull request #230 from certbot/nginx_ubuntu
Expose Nginx plugin for modern Ubuntu users
Permalink
Failed to load latest commit information.
_data build fails because _data directory doesn't exist May 6, 2016
_docs @ bbbfc47 Update submodule to fix tests May 19, 2017
_faq_entries FAQ for CSR vs private key gives a clear, and no longer misleading an… Mar 9, 2017
_gulp Exit with code 1 when js fails during a production build. May 18, 2016
_includes use preferred piwik URL Feb 16, 2017
_layouts Add website to asciiart easter egg May 12, 2016
_sass fix insttruction tt font style and h1 visited color May 17, 2016
_scripts Expose Nginx plugin for modern Ubuntu users May 27, 2017
about Remove Nginx reference May 12, 2016
all-instructions Correct order or no-js instruction title elements. May 11, 2016
faq Add FAQ changes in #45 May 11, 2016
fonts add social icons to hero unit May 6, 2016
images Update OG image. May 12, 2016
privacy updates privacy policy May 12, 2016
support fix irc rooms May 5, 2017
.gitignore Generate all instructions in a gulp task. Apr 26, 2016
.gitmodules move _docs over to the master branch fixes #93 May 12, 2016
.travis.yml fix Travis tests Oct 17, 2016
Dockerfile Move texlive installation before any copying May 19, 2017
EDITING.md Update EDITING.md Sep 8, 2016
LICENSE.txt add license fixes #40 May 9, 2016
README.md link to website Apr 30, 2017
_config.yml Test build with Travis. May 17, 2016
_docs.sh Sphinx has had two releases since we found this bug, so might work no… Jun 15, 2016
certbot-deploy make tests run in certbot-deploy May 19, 2017
favicon.ico Fix #20 favicon May 5, 2016
gulpfile.js add license fixes #40 May 9, 2016
index.html restore transitions to nav May 11, 2016
package.json Ignore docs/api/log.html in html-proofer Dec 12, 2016

README.md

Certbot Website

Website for EFF's Certbot project. Uses Jekyll for static site generation.

Build Status

Getting Started

Install

  1. Install ruby 2.0+, node, and npm 2.0+.
  2. gem install jekyll (requires v3.0 or higher)
  3. sudo npm install gulp -g
  4. npm install

If you want to build a copy of the documentation for your local mirror of the Cerbot website, also do:

  1. git submodule init
  2. git submodule update
  3. ./_docs.sh depend
  4. Install pdflatex e.g. via sudo apt install texlive texlive-latex-extra

Run

To watch for changes and reload assets as needed via BrowserSync: gulp watch

To build the site once: gulp build

To build for production (minified javascript, no source maps): gulp build --env production The environment can also be set in the NODE_ENV environment variable. See https://github.com/gunpowderlabs/gulp-environments.

Editing content

Basic pages

Most pages can be edited as markdown files.

Use /index.html to edit the homepage. Use /[RELATIVE_URL]/index.html to edit internal pages.

Installation instructions

Are generated by JavaScript with Mustache, and can be edited in _scripts/instruction-widget.

FAQ

FAQ entries are a Jekyll collection. Add FAQ entries (question and answer pairs) as markdown files to the _faq_entries directory.

FAQ entries require two variables to be set in the front matter:

  • title: the "Question" the FAQ entry answers
  • weight: the position of this entry on the page - lighter FAQ entries will float to the top.

Testing

Certbot/website uses html-proofer to validate the html output of the build.

To install:

gem install html-proofer

To run the tests:

npm test

(Files with known issues are ignored.)