Skip to content
This repository has been archived by the owner on May 29, 2018. It is now read-only.

Allow mkdocs markdown to reference protobuf-generated code blocks by name #208

Open
rothfels opened this issue Oct 13, 2015 · 2 comments
Open

Comments

@rothfels
Copy link
Contributor

E.g. in api_cmds.go the [[.code "<url>" lineStart lineEnd]] should be able to reference a protobuf-generated function by name: [[.code "graph/def.pb.go" "DefKey"]]

@rothfels rothfels changed the title Allow mkdocs markdown to reference protobuf-generated code blocks Allow mkdocs markdown to reference protobuf-generated code blocks by name Oct 13, 2015
@sqs
Copy link
Member

sqs commented Oct 13, 2015

FYI: Let's use the Hugo-based docs app for the next revision of these docs instead of further customizing mkdocs. Then we can probably make a shortcode for embedded sourceboxes that refer to a specific def. 👍

@rothfels
Copy link
Contributor Author

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants