Git Product home page Git Product logo

liviaerxin / liviaerxin.github.io Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 36.63 MB

Personal Knowledge Base Powered by Foam and Docusaruas

Home Page: https://liviaerxin.github.io/

HTML 0.20% SCSS 0.97% C++ 11.81% C 7.92% JavaScript 8.92% CSS 5.33% MDX 38.83% Python 13.82% Jupyter Notebook 2.56% C# 0.04% TypeScript 4.74% Dockerfile 0.67% Shell 0.15% Assembly 3.66% Makefile 0.38%
blog docusaurus foam personal-knowledge-base ssg

liviaerxin.github.io's Introduction

Personal Blog Powered By Foam and Docusaurus

Tech Stacks behind:

  • Foam: knowledge management system for providing rich features in vscode.
    • Graph Visualization
    • Link Autocompletion
    • Sync links on file rename
    • Templates
    • Generate references for your wikilinks
    • ...
  • Docusaurus: static site generator to build a static site from Foam knowledge content.
    • SEO friendly
    • Powered by MDX
    • Search
    • Document Versioning
    • Internationalization (i18n)
  • GitHub Actions: deploy to GitHub Pages.

Project Structure:

❯ tree -L 3
.
├── README.md
├── _layouts
├── _ssg
│   └── docusaurus
│       ├── babel.config.js
│       ├── build
│       ├── docusaurus.config.js
│       ├── package-lock.json
│       ├── package.json
│       ├── sidebars.js
│       ├── src
│       └── static
├── assets
├── attachments
├── blog
└── docs

Local test:

# dev
npm run start --prefix _ssg/docusaurus

# prod
npm run build --prefix _ssg/docusaurus
npm run serve --prefix _ssg/docusaurus

Foam: A personal knowledge management and sharing system for VSCode

Docusaurus: Easy to maintain open source documentation websites.

Swizzling

Here're @docusaurus/theme-classic components being customized by swizzling,

npm run swizzle @docusaurus/theme-classic BlogPostItem -- --wrap --typescript
npm run swizzle @docusaurus/theme-classic BlogPostItem/Footer/ReadMoreLink -- --eject --typescript
npm run swizzle @docusaurus/theme-classic BlogTagsPostsPage -- --eject --typescript
npm run swizzle @docusaurus/theme-classic SearchBar -- --eject --typescript

Layout

Grid | Infima

CSS Styles

Colors | Infima

I used the default colors shades from Infima.

Icon Management

Bootstrap Icons · Official open source SVG icon library for BootstrapBootstrapGitHubTwitterOpen CollectiveBootstrap

Font Awesome

Tabler Icons - 1400+ Open source free SVG icons

React SVG: How to use SVGs best in React - CopyCat Blog

Metadata Setting

📦 plugin-content-blog | Docusaurus

📦 plugin-content-docs | Docusaurus

Front Matter VS Code Extension

Introduction | Front Matter

Import Code from GitHub Repository

Docusaurus refer code snippets from GitHub repositories

GitHub - saucelabs/docusaurus-theme-github-codeblock: A Docusaurus v2 plugin that supports referencing code examples from public GitHub repositories.

References

To be admit I am not good at UI design and development, however there many excellent docusaurus showcase in open source.

Thanks to tinaeldevresse, I got ideas to design my blog website by referring his blog library.

liviaerxin.github.io's People

Contributors

liviaerxin avatar

Stargazers

 avatar

Watchers

 avatar

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.