Building Antora staging site adds a new subdirectory hierarchy each time

オープン 初心者向け
#1,604 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
66/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cmake

調査の方向性

ネストは antora/CMakeLists.txt の gatherAntoraAssets 関数に起因します。この関数は設定を実行するたびにステージングツリーを自身にコピーします。cmake -H. -B build/unix -DVKB_GENERATE_ANTORA_SITE=ON を2回実行し、find antora -name ROOT で確認して再現します。繰り返し設定してもツリーが変わらず、そのファイル内の Vulkan Guide の表記が Samples に修正されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Noticed this in local builds of the docs site: if I execute

cmake -H"." -B"build/unix" -DVKB_GENERATE_ANTORA_SITE=ON && find antora -name ROOT

It returns

antora/modules/ROOT

Execute it again, and it returns

antora/modules/ROOT
antora/modules/ROOT/images/antora/modules/ROOT

and so on. I suppose the gatherAntoraAssets function in antora/CMakeLists.txt needs to be tweaked so it does not pull part of itself in each time (I had been using the local clone for months and had built up so many levels it was making some apps break from the depth :-)

Also I noticed the CMakeLists.txt refers to the Vulkan Guide, not Samples, which seems like just a typo since the Guide repo does not appear to use a similar build system.

主要言語
C++
スター
5.4k
フォーク
848
平均マージ
6日 25分
マージ済み PR(30日)
7

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

KhronosGroup/Vulkan-Samples のほかの issue

KhronosGroup/Vulkan-Samples の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。