Closed renjiexu closed 3 years ago
Hi team,
In our company, we're using namespace such as following:
company ├── account │ └── rpc │ └── v1 │ └── account_api.proto ├── webhook │ └── v1 │ └── webhook.proto | └── api.proto
instead of generating one html for all the *.proto, we generate one for each namespace:
company ├── account │ └── rpc │ └── v1 │ └── index.html ├── webhook │ └── v1 │ └── index.html
However, if webhook.proto refers a type in account_api.proto, the link would not work. This PR would address the problem, confirmed it's working for me, would like your thoughts on this before adding specs.
webhook.proto
account_api.proto
(might be able to solve the request of https://github.com/pseudomuto/protoc-gen-doc/issues/406)
Thanks, Renjie
Need to recreate upstream branch, closing out
Hi team,
In our company, we're using namespace such as following:
instead of generating one html for all the *.proto, we generate one for each namespace:
However, if
webhook.proto
refers a type inaccount_api.proto
, the link would not work. This PR would address the problem, confirmed it's working for me, would like your thoughts on this before adding specs.(might be able to solve the request of https://github.com/pseudomuto/protoc-gen-doc/issues/406)
Thanks, Renjie