PingCAP-QE / ci

Continue intergration tests
Apache License 2.0
19 stars 100 forks source link

feat: add dockerfile for docs ci #2966

Open purelind opened 4 months ago

purelind commented 4 months ago

add dockerfile for docs ci

ti-chi-bot[bot] commented 4 months ago

Skipping CI for Draft Pull Request. If you want CI signal for your change, please convert it to an actual PR. You can still manually trigger a test run with /test all

ti-chi-bot[bot] commented 4 months ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign wuhuizuo for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/PingCAP-QE/ci/blob/main/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
purelind commented 4 months ago

When using the new image built with this new dockerfile for PDF generation, the following errors may occur.

scripts/generate_pdf.sh

[pandoc warning] Could not find image `/media/ticdc/ticdc-architecture-3.PNG', skipping...
! Missing number, treated as zero.
<to be read again>
                   \protect
l.214982 ...r}\rule{0.5\linewidth}{\linethickness}

pandoc: Error producing PDF

related to this script https://github.com/pingcap/docs/blob/master/scripts/generate_pdf.sh

purelind commented 4 months ago
LaTeX Warning: No \author given.

! LaTeX Error: Unicode character ɪ (U+026A)
               not set up for use with LaTeX.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...

l.120 ...://github.com/pingcap/tidb}{TiDB} (/'taɪ
                                                  diːbi:/, ``Ti''