refactor: remove unused documentation generation script

This commit is contained in:
Prad Nukala 2024-12-08 17:55:36 -05:00
parent dae01698ef
commit 6bb2c2143e
5 changed files with 5 additions and 15 deletions

View File

@ -1,7 +0,0 @@
#!/usr/bin/env bash
set -e
ROOT_DIR=$(git rev-parse --show-toplevel)

View File

@ -323,7 +323,6 @@ motr-build:
hway-build: templ-gen hway-build: templ-gen
go build -o build/hway ./cmd/hway/main.go go build -o build/hway ./cmd/hway/main.go
hway-serve: hway-build hway-serve: hway-build
./build/hway ./build/hway

2
go.mod
View File

@ -81,6 +81,7 @@ require (
github.com/multiformats/go-multicodec v0.9.0 github.com/multiformats/go-multicodec v0.9.0
github.com/multiformats/go-multihash v0.2.3 github.com/multiformats/go-multihash v0.2.3
github.com/multiformats/go-varint v0.0.7 github.com/multiformats/go-varint v0.0.7
github.com/onsonr/nebula v0.1.0
github.com/pkg/errors v0.9.1 github.com/pkg/errors v0.9.1
github.com/segmentio/ksuid v1.0.4 github.com/segmentio/ksuid v1.0.4
github.com/spf13/cast v1.6.0 github.com/spf13/cast v1.6.0
@ -280,7 +281,6 @@ require (
github.com/oasisprotocol/curve25519-voi v0.0.0-20230904125328-1f23a7beb09a // indirect github.com/oasisprotocol/curve25519-voi v0.0.0-20230904125328-1f23a7beb09a // indirect
github.com/oklog/run v1.1.0 // indirect github.com/oklog/run v1.1.0 // indirect
github.com/onsi/ginkgo/v2 v2.22.0 // indirect github.com/onsi/ginkgo/v2 v2.22.0 // indirect
github.com/onsonr/nebula v0.1.0 // indirect
github.com/opentracing/opentracing-go v1.2.0 // indirect github.com/opentracing/opentracing-go v1.2.0 // indirect
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 // indirect github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 // indirect
github.com/pelletier/go-toml/v2 v2.2.2 // indirect github.com/pelletier/go-toml/v2 v2.2.2 // indirect

View File

@ -6,7 +6,7 @@ import (
) )
templ InitialView() { templ InitialView() {
@layout.Root("Welcome | Sonr.ID") { @layout.Root("Sonr.ID") {
@layout.Container() { @layout.Container() {
@text.Header("Sonr.ID", "The decentralized identity layer for the web.") @text.Header("Sonr.ID", "The decentralized identity layer for the web.")
<div class="pt-3 flex flex-col items-center justify-center h-full"> <div class="pt-3 flex flex-col items-center justify-center h-full">

View File

@ -8,10 +8,9 @@ import (
) )
templ ProfileFormView(turnstileSiteKey string) { templ ProfileFormView(turnstileSiteKey string) {
@layout.Root("Sonr.ID") { @layout.Root("New Profile | Sonr.ID") {
@layout.Container() { @layout.Container() {
@text.Header("Create a Profile", "Enter some basic information about yourself.") @text.Header("Create a Profile", "Enter some basic information about yourself.")
<br/>
@form.Form("/register/start", "POST", form.Submit("Continue"), "25", true) { @form.Form("/register/start", "POST", form.Submit("Continue"), "25", true) {
@form.NameInput() @form.NameInput()
<br/> <br/>
@ -23,10 +22,9 @@ templ ProfileFormView(turnstileSiteKey string) {
} }
templ LinkCredentialView(req LinkCredentialRequest) { templ LinkCredentialView(req LinkCredentialRequest) {
@layout.Root("Sonr.ID") { @layout.Root("Register | Sonr.ID") {
@layout.Container() { @layout.Container() {
@text.Header("Link a PassKey", "This will be used to login to your vault.") @text.Header("Link a PassKey", "This will be used to login to your vault.")
<br/>
@form.Form("/register/finish", "POST", form.PasskeyInput("passkey"), "65", false) { @form.Form("/register/finish", "POST", form.PasskeyInput("passkey"), "65", false) {
@details.PropertyList() { @details.PropertyList() {
@details.Property("Address", req.Address, "wallet") @details.Property("Address", req.Address, "wallet")
@ -40,7 +38,7 @@ templ LinkCredentialView(req LinkCredentialRequest) {
} }
templ LoadingVaultView() { templ LoadingVaultView() {
@layout.Root("Sonr.ID") { @layout.Root("Loading... | Sonr.ID") {
@layout.Container() { @layout.Container() {
@text.Header("Loading Vault", "This will be used to login to your vault.") @text.Header("Loading Vault", "This will be used to login to your vault.")
} }