diff --git a/.gitignore b/.gitignore index 6da80487..3c4e4aa2 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,9 @@ yarn-error.log* *.sw* bin/ build/ + +# docs + +/autodocs/public +/autodocs/themes +/autodocs/resources diff --git a/autodocs/.hugo_build.lock b/autodocs/.hugo_build.lock new file mode 100644 index 00000000..e69de29b diff --git a/autodocs/go.mod b/autodocs/go.mod new file mode 100644 index 00000000..8a59bec8 --- /dev/null +++ b/autodocs/go.mod @@ -0,0 +1,8 @@ +module github.com/gtsteffaniak/filebrowser + +go 1.22.5 + +require ( + github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200 // indirect + github.com/gtsteffaniak/filebrowserDocsTheme v0.0.0-20250118144715-40025a28c8d5 // indirect +) diff --git a/autodocs/go.sum b/autodocs/go.sum new file mode 100644 index 00000000..244fb591 --- /dev/null +++ b/autodocs/go.sum @@ -0,0 +1,6 @@ +github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200 h1:SmpwwN3DNzJWbV+IT8gaFu07ENUFpCvKou5BHYUKuVs= +github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20200/go.mod h1:kx8MBj9T7SFR8ZClWvKZPmmUxBaltkoXvnWlZZcSnYA= +github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000/go.mod h1:mFberT6ZtcchrsDtfvJM7aAH2bDKLdOnruUHl0hlapI= +github.com/gtsteffaniak/filebrowserDocsTheme v0.0.0-20250118144715-40025a28c8d5 h1:dwZ1GlVhtfgigYUoPHZd+PBczUgl7FpSJrxMhPQXXJQ= +github.com/gtsteffaniak/filebrowserDocsTheme v0.0.0-20250118144715-40025a28c8d5/go.mod h1:9Ee1u+ac9+utA3Tt3SnoIYmoewMlx7uf/WLb0CVZ2ys= +github.com/twbs/bootstrap v5.3.2+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= diff --git a/autodocs/hugo.toml b/autodocs/hugo.toml index 20a5a2eb..397b77bf 100644 --- a/autodocs/hugo.toml +++ b/autodocs/hugo.toml @@ -1,11 +1,9 @@ baseURL = 'https://example.org/' languageCode = 'en-us' -title = 'My New Hugo Site' +title = 'Docs' +theme = 'docs' [module] [[module.imports]] path = "github.com/gtsteffaniak/filebrowserDocsTheme" disable = false - [[module.imports]] - path = "github.com/gohugoio/hugo-mod-bootstrap-scss/v5" - disable = false \ No newline at end of file diff --git a/autodocs/themes/docs b/autodocs/themes/docs new file mode 160000 index 00000000..46d27542 --- /dev/null +++ b/autodocs/themes/docs @@ -0,0 +1 @@ +Subproject commit 46d275423af1c9f4179cb791e8f9dd70f58c48e1