Skip to content

Latest commit

 

History

History
64 lines (36 loc) · 2.12 KB

README.md

File metadata and controls

64 lines (36 loc) · 2.12 KB

notion-site

notion-site is an open source software for a custom website based on Notion and Hugo, and you can find your favorite template as your blog or documentation site among the hundreds of templates in the Hugo Template Store.

Example notion page
doc notion-page
blog notion-page

Requisites

  • Notion Database id for your articles.
  • Notion API secret token.

Setup

Unix system install

curl -sSf https://raw.githubusercontent.com/pkwenda/notion-site/master/install.sh | sh

Debug local

cd your-hugo-site
notion-site init
# edit notion-site.yml your datatbse id and .env file notion secret
notion-site

Github Action

The installation command tool is helpful for local debugging. If you do not want to debug locally, you can also copy the configuration file to your project and run it directly through GitHubAction. You can see the example config in notion-site-doc.

To use it as a Github Action, you can use the template of the repository in .github/worflows/notion.yml.

Contributing

See CONTRIBUTING for details on submitting patches and the contribution workflow.

Special thanks

License

notion-site is under the MIT license. See the LICENSE file for details.