Skip to content

markurusov1/defischolar_site

Repository files navigation

DeFi Scholar — Documentation Website (Hugo)

Overview

The DeFi Scholar repository contains a static documentation/blog site built with Hugo using the Book theme (github.com/alex-shpak/hugo-book). The site content lives under content/, configuration is in hugo.toml, and generated output is in public/, while Hugo Pipes artifacts live in resources/. Both public/ and resources/ are re-generated on each build and are kept in Git in this repository.

Live site

Prerequisites

Getting started

  1. Clone the repository

    git clone https://github.com/markurusov1/defischolar_site.git
    cd defischolar_site
  2. Fetch Hugo modules (theme and assets)

    hugo mod get -u
  3. Run the development server

    # include drafts (-D) if you want to preview draft content
    hugo server -D
  4. Build for production

    hugo
    • The static output goes to public/.
    • Hugo also updates resources/ for processed assets (Hugo Pipes).

Project structure (high level)

  • hugo.toml — Site configuration (base URL, theme module, params)
  • content/ — Markdown content for docs, posts, and examples
    • content/docs/ — Documentation pages (shortcodes, sections, examples)
    • content/posts/ — Blog posts
  • layouts/ — Layout overrides/partials for the theme
  • assets/ — Custom assets (e.g., JS/CSS) processed by Hugo Pipes
  • public/ — Generated site output (committed here for GitHub Pages)
  • resources/ — Hugo Pipes/cache and processed assets (auto-generated each build; committed in this repo)
  • go.mod, go.sum — Hugo Modules configuration for the theme

Configuration

This site uses the Book theme via Hugo Modules. Key settings (see hugo.toml):

baseURL = 'https://markurusov1.github.io/defischolar_site/'
languageCode = 'en-us'
title = 'DeFi Scholar'

[module]
[[module.imports]]
path = 'github.com/alex-shpak/hugo-book'

[params]
# Options: "light" | "dark" | "auto" (default)
BookTheme = "auto"

[markup.goldmark.renderer]
unsafe = true

Deployment (GitHub Pages)

  • The base URL is set to the GitHub Pages URL in hugo.toml.
  • Build locally with hugo to update public/.
  • Commit and push changes on main (or your deployment branch) so GitHub Pages serves the updated public/.
    • Note: This repository keeps both public/ and resources/ tracked in Git. After building, commit changes in both directories as they are regenerated by Hugo.

Credits

License

  • Code (everything in this repository except where noted, e.g., files under content/): MIT License. See LICENSE.
  • Content (materials under content/, including text and images unless otherwise noted): Creative Commons Attribution 4.0 International (CC BY 4.0). See LICENSE-CONTENT.
  • Theme: This site uses the Hugo Book theme via Hugo Modules. See the theme’s repository for its license: https://github.com/alex-shpak/hugo-book
  • Third‑party assets remain under their respective licenses.

About

DeFi education and research: static site

Topics

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE-CONTENT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages