New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

picodocs

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

picodocs

  • 0.2.8
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Picodocs Theme

Simple documentation theme for Jekyll featuring Picocss framework, PrismJS syntax highlighter and LunrJS search.

One of the core features is a full text client side search and full responsiveness. It has zero dependencies with other gems and should be easily build with Github.

Picodocs

Add this line to your Jekyll site's Gemfile:

gem "picodocs"

Adapt your Jekyll site config _config.yml:

  title: My Docs Page Title
  description: MY description
  url: "https://base/url/site"
  theme: picodocs

  markdown: kramdown
  kramdown:
    syntax_highlighter_opts:
      disable : true

  exclude:
    - Gemfile
    - Gemfile.lock
    - README.md

And then execute:

$ bundle

Or install it yourself as:

$ gem install picodocs

Usage

Github Pages

You can use this theme by simply adding remote_theme: alexander-heimbuch/picodocs to your _config.yml (Thanks to @kogli for the hint).

Available Themes

This theme is made for pages only and doesn't support posts by default. So the only available layouts are default and page.

Navigation

The navigation supports especially only one level. If you need deep nested structures you propably should use a larger documentation system like GitBook.

Not every page by default is part of the navigation. If you want to add a page to the navigation you have to add the navigation attribute with a desired index:

---
layout: page
title: Navigation
navigation: 2
---

The navigation index is starting with 1 representing the first item.

Development

To set up your environment to develop this theme, run bundle install.

Your theme is setup just like a normal Jekyll site! To test your theme, run bundle exec jekyll serve and open your browser at http://localhost:4000. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.

When your theme is released, only the files in _layouts, _includes, and _sass tracked with Git will be released.

License

The theme is available as open source under the terms of the MIT License.

FAQs

Package last updated on 13 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc