Git Product home page Git Product logo

book's People

Contributors

codesections avatar iptq avatar jieiku avatar keats avatar semanticdata avatar trevordmiller avatar

Stargazers

 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

book's Issues

Color scheme picker like mdBook

Hi,

Would it be feasible to add a color scheme picker like mdBook provides - e.g. with the paintbrush icon at the top here: https://erwabook.com/intro/ ?

I'm not very familiar with CSS or SASS, but I think it'd be a really useful feature if it's not already possible.

Multilingual Menu

I was wondering if it was in the scope of this project to change the menu for multi-lingual sites? Currently the index.html template has:

set index = get_section(path="_index.md")

Is it possible to set the index with this logic:

{% if lang == config.default_language %}{% set index = "_index.md" %}{% else %}{% set indx= "_index." ~ lang ~ ".md" %}{% endif %}

My team is pretty new to zola, so if we are overlooking something with this logic or your implementation please let me know. Right now we override the menu block with this logic. However, we may have a few documentation sites that will need to implement this override. Thanks for a great theme!

Error on orphan pages

From the template and mention in the readme the theme does not support orphan pages.

Hide the menu by default on mobile/narrow devices

Currently the menu is shown on all devices, resulting in mobile devices seeing all menu and no page. It would be much better for usability if the menu could be initially hidden on narrow screens or mobile devices.

Feature request: Collapsible menu?

This is a great theme! I wonder if the chapters can be collapsed/hidden?

Like if I am reading chapter 2, I don't want to see the tabs in chapter 1 on the side navigation menu. Also if I am reading section 1 of chapter 2, I want none but only sub sections of section 1 shown on the side menu.

Make menu collapsible is great for reading big document which may have hundreds of sections and sub sections.

Menu not showing on mobile devices

It seems that clicking the menu changes classnames but doesn't alter the visual output. There doesn't seem to be a way to access the menu on mobile devices.

Before menu click:

image

After menu click:

image

Multiple books on the same site

Hi,

I have a site with tons of books and want to move it to Zola.

Is there a way to have multiple books, each one with their own chapters?

Example:

content
 ├── programming
 │   ├── index.md
 │   ├── compilers.md
 │   └── programming-languages.md
 │           ├── index.md
 │           ├── rust
 │           │      ├── index.md
 │           │      └── cargo.md
 │           ├── python
 │                  └── index.md
 ├── mathematics
 │   ├── index.md
 │   └── algebra.md
 └── philosophy
     └── index.md

For example, if I’m visiting example.com/programming, on the sidebar, I’d like to see:

  • compilers
  • programming languages (+)

On a side note: “books” and “chapters” are just metaphors. I have nested “books” and in each one, on the sidebar, I see the parent, siblings, and children.

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.