-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
Showing
4 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
examples/gno.land/r/docs/home/home.gno → examples/gno.land/r/docs/docs.gno
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
2 changes: 1 addition & 1 deletion
2
examples/gno.land/r/docs/home/home_test.gno → examples/gno.land/r/docs/docs_test.gno
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package home | ||
package docs | ||
|
||
import ( | ||
"strings" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module gno.land/r/docs |
This file was deleted.
Oops, something went wrong.