Это порт javadocset инструмента. Я портировал этот инструмент в качестве упражнения для использования Golang, а также для содействия пользователям Zealdoc, поскольку большинство пользователей Dash, использующих Mac, могут запускать инструмент Kavli javadocset который можно найти здесь).
Вам необходимо установить Go 1.8.3 и выше, чтобы использовать этот инструмент
Это так просто, как:
go get github.com/inconshreveable/log15
go get github.com/mattn/go-sqlite3
go get github.com/misterzym/jdocset
javadocset <имя документа> <папка Javadoc>
# где:
# <docset name> = имя документа, которое появится на Dash / Zeal
# <Папка Javadoc> = папка, содержащая сгенерированный HTML-документ Java
Кредиты поступают в Kapeli: https://github.com/Kapeli/javadocset
Zeal: https://github.com/zealdocs/zeal
Dash: https://kapeli.com/dash
Нет гарантии, что это будет работать на 100%. Я старался изо всех сил проверить, что у меня есть документ на Java, но могут быть ошибки, которые у меня не было возможности обнаружить. Пожалуйста, откройте вопрос, если у вас возникли проблемы!
This is a port of Kapeli's javadocset tool in Golang. I ported this tool as an exercise for me to use Golang and also to contribute to Zealdoc's users as most Dash users who use a Mac are able to run Kapeli's javadocset tool (which can be found here).
You need to have Go 1.8.3 and above installed to be able to use this tool
It's as simple as:
go get github.com/misterzym/jdocset
javadocset <docset name> <Javadoc folder>
# where:
# <docset name> = the name of the docset that will appear on Dash/Zeal
# <Javadoc folder> = the folder containing the generated HTML Java doc
Credits go to Kapeli: https://github.com/Kapeli/javadocset
Zeal: https://github.com/zealdocs/zeal
Dash: https://kapeli.com/dash
There is no guarantee that this will work 100%. I've tried my best to verify against a Java doc that I own but there may be bugs that I've not had the chance to discover. Please open an issue if you're having any trouble!
Pull requests are welcome :)