ilya-biryukov accepted this revision. ilya-biryukov added a comment. This revision is now accepted and ready to land.
LGTM ================ Comment at: clang-tools-extra/clangd/clients/clangd-vscode/package.json:38 + "package": "vsce package --baseImagesUrl https://raw.githubusercontent.com/llvm/llvm-project/master/clang-tools-extra/clangd/clients/clangd-vscode/", + "publish": "vsce publish --baseImagesUrl https://raw.githubusercontent.com/llvm/llvm-project/master/clang-tools-extra/clangd/clients/clangd-vscode/" }, ---------------- hokein wrote: > ilya-biryukov wrote: > > Just to make sure I understand what's going on... > > > > Could you explain what `--baseImagesUrl` does? > > The suggested url returns an error code when I try to load it in a browser. > This is expected, this is a **base** url. it is used to assemble a full url > with the screenshot links in the readme, an example is ` > https://raw.githubusercontent.com/llvm/llvm-project/master/clang-tools-extra/clangd/clients/clangd-vscode/` > + `doc-assets/complete.png`, so that the screenshot can be rendered > correctly in the VSCode market. Thanks for the clarification! Surprised we need this for both `package` and `publish`, I'd expect this to be handled in either first or the second step, but not both. I guess I don't fully understand what they do with this URL. NIT: could add a comment mentioning that this URL is used to "host images (e.g. screenshots in documentation)"? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D68080/new/ https://reviews.llvm.org/D68080 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits