Git Product home page Git Product logo

conspectus-framework's Introduction

Dmitriy Novozhilov Banner

about More about me

val demiurg906 = developer {
    about {
        name = "Dmitriy Novozhilov"
        company = JetBrains
        role = Kotlin_Compiler_Developer
    }
    tech("Kotlin")
}

conspectus-framework's People

Contributors

demiurg906 avatar xamgore avatar

Watchers

 avatar  avatar  avatar

conspectus-framework's Issues

Hidden section

Sometimes it is useful to have public notes but with some hidden sections: they are accessible by direct link, but there are no links in the contents. I suppose the best way to describe the option is just to set it in the config.json, which will be supported only after implementing the #13 issue.

Use case: public java notes, but with hidden tests.

Refactor new_html_generator.py

Переработать new_html_generator.py так, чтобы все жило в одном классе, дабы избавиться от лишних глобальных переменных и длинных прокидываний аргументов через функцию

Fix ast analyzer

Теперь в корне проекта создается файл ./__content__.json, в котором находится информация о всех сырцах конспекта в проекте. Нужно переработать ast/index.js так, чтобы все файлы, им генерируемые, размещались в папке ./_template с той же структурой, что была в изначальном проекте.
пример content.json:

{
  "sources": [
    "./hw_01.md",
    "./hw_02.md",
    "./hw_03.md",
    "./hw_04.md",
    "./hw_05.md",
    "./hw_06.md",
    "./hw_07.md",
    "./hw_08.md",
    "./hw_09.md",
    "./hw_10.md",
    "./hw_11.md",
    "./hw_12.md",
    "./hw_13.md",
    "./hw_14.md",
    "./hw_15.md",
  ],
  "images": [
    "./images/pic_22.png",
    "./images/pic_62.png",
    "./images/pic_63.png",
    "./images/pic_67.png",
    "./images/pic_73.png",
    "./images/pic_98.png"
  ],
  "dirs": [
    ["./", true],
    ["./images", false],
  ]
}

(true и false у каждой папки обозначает, есть ли .md исходники в папке или ее подпапках)

Creating "gh-pages" if not exists

Надо генерить gh-pages ветку в скрипте по клонированию репы, если ее (ветки) еще нет

Fix a preview image

Я сделал репозиторий по Java, но у меня до сей пор Смаль на превьюшке. Надо это как-то параметризовать. Для простоты можно брать картинку из ветки master репозитория, которая называется preview.(png|jpg|jpeg|gif). В сложном варианте можно брать превьюшку из папки, где лежали markdown файлы.

Pretty table of contents

Надо бы сделать красивый разделитель списка подпапок и списка документов в папке. В качестве заготовки между ними вставлен <span class="toc-separator"></span>.

Incremental compilation

Надо бы сделать так, чтобы заново создавались только те страницы, исходники которых были обновлены с последними коммитами

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.