This repository contains notes on getting started guides to various software tools for the Brooklyn College CIS student.
The webpage page is available at guides.drkat.dev
The contents of this site is written in emacs' org mode, converted to markdown with ox-hugo, and generated to a static html site using hugo.
At the time of this writing, the following are used to build this site:
- Emacs 27.1
- Org mode
- Ox-hugo mode
- Hugo v0.75.1
- book theme
Instructions for installing Hugo can be found at https://gohugo.io/getting-started/installing/
- mac
brew install hugo
Install the book theme using git submodule update --init --recursive
At the highest level, files are organized into 3 directories.
- The
docsfolder is used by github pages to build the site. - The
hugofolder contains the configuration and theme files used by hugo to generate the website. - The
notesfolder contains the org files with the text for each of the pages.
├── docs
├── hugo
└── notes- Publish the org file to markdown in emacs, using keybinding
C-c C-e H has this will save the file into the correct format in thecontentdirectory. - In the terminal, start the hugo server from the hugo folder to preview the website for changes
hugo serverwhile in development. Using the-Dflag will include drafts to in the preview. - Once the site looks good, generate the files with
hugo -D, this will prepare the subdirectoryhugo/publicwith the resulting website. - Copy the files over from
hugo/publictodocsto prepare for github pages. Sample command used:rm -r docs && mkdir docs && cp -r hugo/public/* docs
Currently the configurations are in hugo/config.toml and hugo/data/config/widgets.toml are required for building the website and not added to this repository.