GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Python3pkg/DOCter: A Jekyll template for project documentation

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

103 Commits
103 Commits

Folders and files

NameName
Last commit message
Last commit date
_includes
_includes
 
 
_layouts
_layouts
 
 
_pages
_pages
 
 
_posts
_posts
 
 
assets
assets
 
 
.gitignore
.gitignore
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
COPYING.txt
COPYING.txt
 
 
Gemfile
Gemfile
 
 
Gemfile.lock
Gemfile.lock
 
 
README.md
README.md
 
 
TERMS.md
TERMS.md
 
 
_config.yml
_config.yml
 
 
cache-polyfill.js
cache-polyfill.js
 
 
index.html
index.html
 
 
sw.js
sw.js
 
 

Repository files navigation

DOCter

DOCter is a Jekyll template for quickly building out project pages and documentation.

DOCter Screenshot

See the demo

To run DOCter locally

DOCter needs Jekyll and other dependencies to run locally. These can be installed with Bundler by running the following commands.

gem install bundler
bundle install

Fork and clone the repo:

git clone [email protected]:cfpb/DOCter.git
cd DOCter

Run Jekyll:

bundle exec jekyll serve --watch --baseurl ''

Open it up in your browser: http://localhost:4000/

_config.yml

Options within the _config.yml file allow you to control the site's title, subtitle, logo, author information, and the left column navigation.

Project Page URL Structure

This is an excerpt from the Jekyll docs on configuring your URL for Project Pages.

Sometimes it's nice to preview your Jekyll site before you push your gh-pages branch to GitHub. However, the subdirectory-like URL structure GitHub uses for Project Pages complicates the proper resolution of URLs. Here is an approach to utilizing the GitHub Project Page URL structure (username.github.io/project-name/) whilst maintaining the ability to preview your Jekyll site locally.

  1. In _config.yml, set the baseurl option to /project-name -- note the leading slash and the absence of a trailing slash.
  2. When referencing JS or CSS files, do it like this: {{ site.baseurl }}/path/to/css.css -- note the slash immediately following the variable (just before "path").
  3. When doing permalinks or internal links, do it like this: {{ site.baseurl }}{{ post.url }} -- note that there is no slash between the two variables.
  4. Finally, if you'd like to preview your site before committing/deploying using jekyll serve, be sure to pass an empty string to the --baseurl option, so that you can view everything at localhost:4000 normally (without /project-name at the beginning): jekyll serve --baseurl ''

This way, you can preview your site locally from the site root on localhost, but when GitHub generates your pages from the gh-pages branch all the URLs will start with /project-name and resolve properly.

Offline support

By default DOCter provides offline support via a Service Worker. This means that after an initial load of your DOCter site, a cached version will be available offline in some modern browsers.

To disable offline caching:

in _config.yml: set offline_cache to false (defaults to true).

To update the cached version of your site:

in _config.yml change the value of cache_name

To add additional files to the cache:

Update the filesToCache array in sw.js;

License

The project is in the public domain, and all contributions to it will be released as such. By submitting a pull request, you are agreeing to waive all rights to your contribution under the terms of the CC0 Public Domain Dedication.

If you contribute the open source work of others, please mark it clearly in your pull request.

About

A Jekyll template for project documentation

Resources

Readme
CC0-1.0 license

Contributing

Contributing
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.