Coder Social home page Coder Social logo

pixeldroid / programming-pages Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 6.0 3.68 MB

a jekyll theme for publishing code documentation to GitHub pages

Home Page: https://pixeldroid.github.io/programming-pages/

License: MIT License

Ruby 18.97% HTML 26.47% Liquid 13.46% JavaScript 8.82% CSS 32.28%
api-documentation-tool docs documentation gh-pages jekyll jekyll-theme markdown publishing

programming-pages's People

Contributors

ellemenno avatar pixeldroid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

programming-pages's Issues

guide ordering not carried through to sub-pages

when ordering guides arbitrarily (non-alphabetically) using the order variable, children get assigned incorrectly to parents in the indices view.

expecting:

├─P1
├──P1C1
├──P1C2
├──P1C3
├─P2
└─P3

seeing:

├─P1
├──P1C1
├─P2
├──P1C2
├──P1C3
└─P3

consider a liquid macro to include svg icons as needed; support full library

currently all icons are included whether used or not; consider instead a liquid macro that pulls icons at build time, taking care of the html/svg/css.

also consider returning svg ids to the names found in the icon libraries themselves (maybe an alias to translate the programming-pages intentions back to library ids: interfaceneuter)

e.g., instead of this:

<svg class="icon"><use xlink:href="#icon-folder-outline" /></svg>

something like this:

{% include icon.liquid icon=folder-o %}

navigation pane rendering with Firefox

Dear pixeldroid,
thanks for this nice theme! I'm trying to set up a small github.io website but the rendering of the navigation pane is not nice when using Firefox (when more than 3 collections, the 1st sub element name is cut, see github.io.png). The rendering is fine (see local.png) using Firefox and local page done with jekyll serve. The github.io website is OK using Chromium or Falkon. So this is only using Github server and Firefox that I have the problem... Is there a way to avoid that? Maybe, to increase artificially the space between the collections and the sub elements? Thanks for you help!
github io
local

negative page.order values do not behave as docs state

According to the docs:

Positive numbers will be sorted first, in ascending order, with 0 the first possible value. Negative numbers will be sorted last, in descending order, with -1 the last possible integer value:

 🡯first      last🡮
0 1 2 3  .. -3 -2 -1

but as of v0.5.11, setting two pages to be ordered -1 and -2 makes -2 the last (should be -1).

perhaps when adding to the endered array, the negative values should be shifted, not pushed? (see indices.html#L110)

remove _root refs in page layouts

lib/src/_config.yml defines several '_root' shortcuts, but these are tightly coupled to folder names, which we want the user to be in control of. maybe these references can be removed, or at least auto-gen'd.

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.