Skip to content

Releases: devprabal/notes

Change build architecture

07 Nov 14:44

Choose a tag to compare

Switch to docker for build.
See README.md for details on how to build and how to add a new note.

Full Changelog: v1.3...v2.0

Git notes added

01 Oct 10:56

Choose a tag to compare

Release Highlights

  • Add new notes for git
  • Update notes for vim and windows

Build Instructions

See the instructions in release v1.0

Code Review notes added

10 Jul 15:56

Choose a tag to compare

Release Highlights

  • Add new notes for c and Code Review

Build Instructions

See the instructions in release v1.0

C/C++ and vim notes

10 Apr 08:04

Choose a tag to compare

Release Highlights

  • Add new notes for c, cpp languages and vim

Build Instructions

See the instructions in release v1.0

New build architecture

10 Apr 07:58

Choose a tag to compare

Release Highlights

  • Makefiles updated with .PHONY targets
  • Pre-requisites of a target are now ordered steps in the recipe of that target (because the pre-requisites/dependencies do not define an explicit order when written as target: pre1 pre2. This does not guarantee that pre1 is built before pre2)
  • A common makefile (common.mk) provided for notes directories to avoid code duplication
  • Manual writing of individual .mk files no longer required. Makefile autogenerates it now (see gen_temp_mk target in Makefile)
  • Add <header> on all pages to link back to main page

Build Instructions

Prebuilt repo

  • Download archive notes-1.0.tar.gz or notes-1.0.zip from the Assets
  • Extract the downloaded archive
  • To see it running ootb as it is, just open index.html in browser

Steps to add new notes directory and then build

  • You will need binary for lowdown. Build from here.

  • You will require binary for sass. Download from here.

  • Suppose you want to add a new notes dir (say) - kawaii_tech.
    Then this dir (kawaii_tech) should have the following structure and mandatory files (notice the naming of the files too) -

    • kawaii_tech/kawaii_tech_notes.md (your notes in Markdown format)
  • Now in the Makefile (of the project's root dir) add this dir to DIRS_UNSORTED variable

  • Run make from project's root dir to generate all html and css files

  • Open index.html in browser

Some points to consider while writing notes

  • When adding new .md (notes) files, make sure that the fenced code blocks have a language set like -

```cpp
#include <iostream>
using namespace std;
int main()
{
  return 0;
}
```

This will make the <code> tag (in the generated html file) to have class set like -
<code class="language-cpp">

Notes Website Debut

30 Mar 16:42

Choose a tag to compare

Release Highlights

  • Use lowdown to convert .md to .html
  • Use sass to generate .css file
  • Use Makefile to automate the build process

Build Instructions

Prebuilt repo

  • Download archive notes-0.1.tar.gz or notes-0.1.zip from the Assets
  • Extract the downloaded archive
  • To see it running ootb as it is, just open index.html in browser

Steps to add new notes directory and then build

  • You will need binary for lowdown. Build from here.

  • You will require binary for sass. Download from here.

  • Suppose you want to add a new notes dir (say) - kawaii_tech.
    Then this dir (kawaii_tech) should have the following structure and mandatory files (notice the naming of the files too) -

    • kawaii_tech/kawaii_tech_notes.md (your notes in Markdown format)

    • kawaii_tech/kawaii_tech.mk (copy the contents from linux/linux.mk or rpi/rpi.mk).

      • Set NOTE_NAME in kawaii_tech.mk as
      NOTE_NAME=kawaii_tech_notes
      
  • Now in the Makefile (of the project's root dir) add this dir to DIRS_UNSORTED variable

  • Run make from project's root dir to generate all html and css files

  • Open index.html in browser

Some points to consider while writing notes

  • When adding new .md (notes) files, make sure that the fenced code blocks have a language set like -

```cpp
#include <iostream>
using namespace std;
int main()
{
  return 0;
}
```

This will make the <code> tag (in the generated html file) to have class set like -
<code class="language-cpp">