Skip to content
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

Generate docs dependent figures in PNG and PDF formats separately #813

Merged
merged 3 commits into from May 31, 2019

Conversation

seisman
Copy link
Member

@seisman seisman commented May 31, 2019

Address #805

@seisman seisman changed the title Generate docs dependent figures in PNG and PDF formats separately WIP: Generate docs dependent figures in PNG and PDF formats separately May 31, 2019
@seisman seisman changed the title WIP: Generate docs dependent figures in PNG and PDF formats separately Generate docs dependent figures in PNG and PDF formats separately May 31, 2019
@seisman seisman merged commit d4b8eeb into master May 31, 2019
@seisman seisman deleted the split-html-pdf branch May 31, 2019 14:32
@joa-quim
Copy link
Member

So, how do I run this?

cmake --build . --target docs_html_depends;
ninja: error: unknown target 'docs_html_depends'

@seisman
Copy link
Member Author

seisman commented May 31, 2019

Did you run cmake .. again or remove the build directory and re-run cmake .. -G Ninja?

You can also run cmake --build . --target docs_html to generate HTML documentations and HTML-only dependents.

@joa-quim
Copy link
Member

I use ninja, so build is

ninja install

and docs

ninja docs_html

which still builds the PDF

@seisman
Copy link
Member Author

seisman commented May 31, 2019

mkdir build
cd build
cmake .. -G Ninja
ninja
ninja docs_html

I don't see any pdf in the build directory or any subdirectories.

@joa-quim
Copy link
Member

Well, I have all the examples and scripts built in PDF as well.

obaney pushed a commit to obaney/gmt that referenced this pull request Aug 18, 2021
…#813)

* Simplify the vercel build commands

`gmt` is already listed as a dependency in
[environment.yml](https://github.com/GenericMappingTools/pygmt/blob/master/environment.yml),
so running `conda env create -f environment.yml` already has `gmt`
installed. No need to install `gmt` again.

* Use mamba

Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants