home.go 1.6 KB

1234567891011121314151617181920212223242526272829
  1. package content
  2. import (
  3. "github.com/qor5/docs/docsrc/utils"
  4. . "github.com/theplant/docgo"
  5. . "github.com/theplant/htmlgo"
  6. )
  7. var Home = Doc(
  8. Markdown(`
  9. QOR5 is a Go library to build web applications. We aim to accelerate the development speed and make the website highly customizable.
  10. - It prefers writing HTML in [static typing Go language](/advanced-functions/the-go-html-builder.html), rather than a certain type of template language, Not even go template.
  11. - It try to minify the needs to write any JavaScript/Typescript for building interactive web applications
  12. - It maximize the reusability of Components. since it uses Go to write components, You can abstract component very easy, and use component from a third party Go package is also like using normal Go packages.
  13. `),
  14. utils.Anchor(H2(""), "How is this document organized"),
  15. Markdown(`
  16. Most of latter examples are based on the initial sample project. In another word, we will demonstrate how to build a rich functioned website by this document.
  17. - First, we will start with a quick sample project that would give you a rough but visual idea of what QOR5 can do.
  18. - Second, we will introduce the basic functions, The sequence is from listing page to editing page. You can find all commonly used Admin website features in this section.
  19. - Third, we will introduce the essentials of QOR5 and advanced functions, You would understand how QOR5 render a page and advanced features like "how to partially refresh a page".
  20. - At last, the digging deeper part, you would learn how to create new component for QOR5
  21. **Join the Discord community**: https://discord.gg/76YPsVBE4E
  22. `)).Title("Introduction").
  23. Slug("/")