Giter Site home page Giter Site logo

nonacosa / notion-site Goto Github PK

View Code? Open in Web Editor NEW
42.0 42.0 6.0 7.51 MB

Build any website for free with Notion automation | 使用 Notion + Hugo 免费自动化构建任何网站

Home Page: http://ns-doc.env.wtf

License: MIT License

Dockerfile 0.64% Makefile 1.67% Go 95.80% Shell 1.88%
github-actions notion notion-blog

notion-site's People

Contributors

gwillem avatar nonacosa avatar rnakamine avatar saltbo avatar xzebra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

notion-site's Issues

从 notion 同步时老是出现时间错误

你好,在使用 notion-site 的过程中,老是在 github action 中看到如下的报错

✔ Generating blog post: Completed
panic: parsing time "2023-06-08T07:04:17.[57](https://github.com/Uranuslab/deputy-blog/actions/runs/5208364636/jobs/9396873279#step:5:58)Z0": extra text: "0"

goroutine 1 [running]:
github.com/pkwenda/notion-site/pkg.(*NotionAPI).mustParseDateTime(...)
	/usr/src/app/pkg/notion_api.go:194
github.com/pkwenda/notion-site/pkg.(*NotionAPI).changeStatus(_, _, {{0xc00034be90, 0x24}, {0x0, 0xedc0677c4, 0x0}, 0xc0000a3f30, {0x0, 0xedc137424, ...}, ...}, ...)
	/usr/src/app/pkg/notion_api.go:172 +0x41e
github.com/pkwenda/notion-site/pkg.processDatabase(0xc00038fc18, {0xc00002cea0?, 0x9c9a44?})
	/usr/src/app/pkg/generator.go:125 +0x5b2
github.com/pkwenda/notion-site/pkg.Run(0xc00038fc18)
	/usr/src/app/pkg/generator.go:31 +0xaf
github.com/pkwenda/notion-site/cmd.glob..func2(0xdc55[60](https://github.com/Uranuslab/deputy-blog/actions/runs/5208364636/jobs/9396873279#step:5:61)?, {0x9bf904?, 0x0?, 0x0?})
	/usr/src/app/cmd/root.go:32 +0x245
github.com/spf13/cobra.(*Command).execute(0xdc5560, {0xc000024240, 0x0, 0x0})
	/go/pkg/mod/github.com/spf13/[email protected]/command.go:860 +0x6[63](https://github.com/Uranuslab/deputy-blog/actions/runs/5208364636/jobs/9396873279#step:5:64)
github.com/spf13/cobra.(*Command).ExecuteC(0xdc5560)
	/go/pkg/mod/github.com/spf13/[email protected]/command.go:974 +0x3bd
github.com/spf13/cobra.(*Command).Execute(...)
	/go/pkg/mod/github.com/spf13/[email protected]/command.go:902
github.com/pkwenda/notion-site/cmd.Execute()
	/usr/src/app/cmd/root.go:41 +0x25
main.main()
	/usr/src/app/main.go:6 +0x17

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.