-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add build docs script #1873
Add build docs script #1873
Conversation
@dedemorton This means in the future you can just run |
dd3a95f
to
78e2ac1
Compare
@andrewkroh I removed the doc build in Jenkins to replace it by this PR. Should we backport this to 1.3, at least the overall docs build? |
.PHONY: testsuite | ||
testsuite: | ||
$(foreach var,$(PROJECTS),$(MAKE) -C $(var) testsuite || exit 1;) | ||
#$(MAKE) -C generate test | ||
$(MAKE) docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer to not have the docs build tied to testsuite. I would rather be able to specify if I want them both to run like make testsuite docs
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I kept it in to not have to change the jenkins command and it is currently incompatible with 1.3. but I will just update 1.3 very soon, so this is not a problem. I removed it.
Yeah, it would be good to backport at least the |
To build the docs, `make docs` can be used. To preview the docs, `make docs-preview` can be used. * Building the docs is now part of make testsuite * Make local docs build and preview easy by adding it to the makefile * Update CONTRIBUTING.md with new commands The generators are currently not part of the build as they require glide to be installed.
Backport elastic#1873
Building the docs is now part of make testsuite
Building of the generators was also added to the testsuite.