Skip to content

Commit

Permalink
feat: r/docs/home -> r/docs (#3175)
Browse files Browse the repository at this point in the history
I initially considered adding a rule in gnoweb to automatically redirect
to `/home`. However, I believe it makes more sense to:
1. Test having a namespace-realm to identify any inconveniences.  
2. Designate `r/docs` as the documentation and `r/docs/home` as the
homepage for the "docs" team.

Later, we might use `r/<handle>/home` to configure a DefaultRealm that
enables redirection when accessing `r/<namespace>`. I'm not sure yet,
but let's experiment.

Signed-off-by: moul <[email protected]>
  • Loading branch information
moul authored Nov 22, 2024
1 parent 4d80378 commit db1d699
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package home
package docs

func Render(_ string) string {
return `# Gno Examples Documentation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package home
package docs

import (
"strings"
Expand Down
1 change: 1 addition & 0 deletions examples/gno.land/r/docs/gno.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module gno.land/r/docs
1 change: 0 additions & 1 deletion examples/gno.land/r/docs/home/gno.mod

This file was deleted.

0 comments on commit db1d699

Please sign in to comment.