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 - justwriteclick/docslikecode: Read stories, learn through practice, share with others, to treat docs as code.

BranchesTags
Open more actions menu

Latest commit

 

History

661 Commits
661 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
_data
_data
 
 
_includes
_includes
 
 
_layouts
_layouts
 
 
_learn
_learn
 
 
_posts/articles
_posts/articles
 
 
about
about
 
 
articles
articles
 
 
book
book
 
 
images
images
 
 
learn
learn
 
 
script
script
 
 
search
search
 
 
tags
tags
 
 
.gitignore
.gitignore
 
 
.ruby-version
.ruby-version
 
 
404.md
404.md
 
 
Gemfile
Gemfile
 
 
Gemfile.lock
Gemfile.lock
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
_config.yml
_config.yml
 
 
favicon.ico
favicon.ico
 
 
favicon.png
favicon.png
 
 
feed.xml
feed.xml
 
 
index.html
index.html
 
 
netlify.toml
netlify.toml
 
 
package.json
package.json
 
 

Repository files navigation

Docs Like Code

Netlify Status

The Website

This website is intended to offer stories and articles about how to treat docs like code, and lessons learned along the way. You are welcome to tell your story here as well.

To Contribute

You can directly submit a pull request using the fork-and-pull workflow to add an article, or submit to the justwriteclick/docs-like-code-stories repo if you want to follow a question-and-answer template.

Pushing to the build branch lets you preview the build output using Netlify. You must log into Netlify to view the preview deploy.

Pushing to the main branch builds output to https://www.docslikecode.com using Netlify. Auto publishing is on as a setting in Netlify, so deploys from main are published automatically.

Theme Colophon

Theme courtesy of https://mmistakes.github.io/so-simple-theme/

To Build Locally (MacOS)

Test your additions and changes to content by running a local build.

On macOS you need to install brew, bundler.io, and Ruby version manager so that you can use a particular version of Ruby:

  1. Use brew to install a Ruby version manager.

    $ brew install rbenv ruby-build
    
  2. Add rbenv to bash so that it loads every time you open a terminal. If you are using macOS Catalina, your profile file may be .zshrc.

    $ echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
    

    or

    $ echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.zshrc
    
  3. Source your .bash_profile file. If you are using macOS Catalina or later, your profile file may be .zshrc.

    $ source ~/.bash_profile
    

    or

    $ source ~/.zshrc
    
  4. Install a currently supported Ruby version (example uses 3.2.2):

    $ rbenv install 3.2.2
    $ rbenv global 3.2.2
    $ rbenv version
    

    In return, you should see output like ruby 3.2.2 (set by /Users/username/docslikecode/.ruby-version).

  5. Run gem install bundle to install the bundler gem, which helps with Ruby dependencies.

  6. Run bundle install the first time you are in the docslikecode directory.

To build locally: Once you have completed preparing your environment, then you can build locally and review the site in your browser.

  1. Run the serve command.

    $ bundle exec jekyll serve
    
  2. Use the Server address URL http://127.0.0.1:4000/ in a browser to preview the content.

  3. Press Ctrl+C in the serve terminal to stop the server.

Tip
Leave the serve terminal open and running. Every time you save changes to a file, it automatically regenerates the site so you can test the output immediately. The only file where changes require a restart is the _config.yml file.

About

Read stories, learn through practice, share with others, to treat docs as code.

www.docslikecode.com

Topics

cicddocopsdocs-as-codedocumentationdocumentation-codenetlifyrubyssgwebsite

Resources

Readme
MIT license
Activity
Custom properties

Stars

47 stars

Watchers

4 watching

Forks

17 forks
Report repository

Releases

Packages

Used by

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.