Skip to content

Commit

Permalink
node: add external docs page for discovery
Browse files Browse the repository at this point in the history
  • Loading branch information
ziogaschr committed Jan 20, 2021
1 parent 3342cea commit 26da9ed
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion node/openrpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,12 @@ var sharedMetaRegisterer = &go_openrpc_reflect.MetaT{
return info
},
GetExternalDocsFn: func() (exdocs *meta_schema.ExternalDocumentationObject) {
return nil // FIXME
exdocs = &meta_schema.ExternalDocumentationObject{}
description := "ETC Labs Documentation"
exdocs.Description = (*meta_schema.ExternalDocumentationObjectDescription)(&description)
url := "https://etclabscore.github.io/core-geth/"
exdocs.Url = (*meta_schema.ExternalDocumentationObjectUrl)(&url)
return exdocs
},
}

Expand Down

0 comments on commit 26da9ed

Please sign in to comment.