Git Product home page Git Product logo

crust-io's People

Contributors

bjerh avatar saturate avatar teltploek avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

crust-io's Issues

Build a global search index

We'll need a search index.

Should be fairly simple to do by leveraging: http://lunrjs.com/
(Here's an example on where it has been implemented)

Initial thoughts:

  • Should create a search-index.json for site root.
  • Site maintainer is free to implement the search feature if he/she wants to.
  • We should add a sample search feature inside generator-crust
  • Think about how search result page fits into page structure.

Offline-support

We should provide a setting that makes a page in the source accessible when user is offline.

Initial thoughts:

  • It should be done by a simple configuration setting inside config.yaml:

    availableOffline: true
  • When traversing tree, we should create a Service Worker manifest with the pages available offline included.

Links can't contain parenthesis in markdown

Expected behavior

When creating a link in markdown that contains parenthesis I would like it to render it as one could expect.

Actual behavior

When creating a link in markdown that contains parenthesis the formatting isn't correct.

Steps to reproduce the behavior

Create a page with a link containing parenthesis, generate and observe.

Make an example JS setup in standard template

There's absolutely no JavaScript setup in the current workflow. An newcomer would probably like our thoughts on how to make JavaScript-components work with the rest of the setup, so we should definitely do an example on that as well.

Page Yaml-files should be able to feed custom variables to pages

Sometimes we need to pass a long custom variables to pages that we can react on for presentational purposes.

For instance, I'd like to have some sort of custom ID on my Standard Operating Procedures covers in the Pentia Standard Operating procedures compendium. Right now I'm only getting the folder title and a bit of information about the path of the page, but if I'd like to annotate a number that goes along with the SOPs there's no way for me to do so.

config.yaml should have a crustVars property which is an object holding data that should be exposed to the frontend while generating the product HTML.

Generate JSON contentmanifest in HTML product for each level in source

To utilize HTML product for use as a SPA it would be very useful to have a JSON-file in each of the levels in the HTML product, which tells everything about current context. That being a list of subpages, the last modified dates etc.

By having this in place, it would be fairly easy to create rich SPA integration to the static HTML product.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.