pingcap / website-docs

The next generation of PingCAP Docs. Powered by Gatsby ⚛️.
https://docs.pingcap.com/
MIT License
22 stars 33 forks source link

Two commits fails to trigger docs site update #273

Closed Oreoxmt closed 1 year ago

Oreoxmt commented 2 years ago

Describe the bug Two commits fails to trigger docs site update.

  1. base: master https://github.com/pingcap/docs/commit/024a14fe7e8821c2c4cef854ae7279d0a3c4cee4

    • Expected: add 7 docs in Develop > Reference > Archived Docs
    • Actual: "Archived Docs" is only available in v6.1, not in dev image image
  2. base: release-6.1 https://github.com/pingcap/docs/commit/16b2459ccc9dc428a8574f0d83c1c760d5e7b468

    image

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

shczhen commented 2 years ago

dFJ16I8WWb Jt4ICmsBkD

As you can see in pictures above, the build queue's order is different from docs repo commit's order.

And doc website build based on previous doc cache.(Which they call "Incrementally build")

I think it's a structural issue, which need to refactor website trigger&build logic.

For temporarily workaround, I will trigger a full build.