Git 儲存庫下方的 Dreamweaver 網站根目錄

Git 儲存庫下方的 Dreamweaver 網站根目錄

這更像是一個 Dreamweaver 問題,而不是其他任何問題——因為我想在 Dreamweaver 中設計網站並管理我的 git 儲存庫。假設我有一個 Git 存儲庫設置,名為git-repo-web.

資料夾結構如下:

computer1:git-repo-web user1$ tree
.
├── .git
├── .gitlab-ci.yml
├── .gitignore
├── README.md
└── htdocs
    ├── bootstrap
    |   └── css
    │       ├── bootstrap-theme.css
    │       ├── bootstrap-theme.min.css
    │       └── bootstrap.css
    ├── index.html
    ├── template-simple.html
    ├── template.html
    ├── terms.html
    └── whatsnew.html

在 Dreamweaver 中,我的網站如下所示。如果我在該層級設定 Dreamweaver 站點git-repo-web,它可以與我現有的 git 儲存庫配合良好,但是當我嘗試查看 htdocs 下的內容時,由於它查找 css 檔案的方式,它無法正確顯示網頁。

如果我在該層級設定 Dreamweaver 站點htdocs,網站會完美呈現,但它不知道高於 htdocs 等級的現有 git 儲存庫。

我想在git-repo-web目錄層級新增我的 Dreamweaver 站點,以便它識別現有的 git 儲存庫,但我希望我的站點根目錄位於此目錄之下,應該是htdocs.這可能嗎?

我可以在 處定義我的站點git-repo-web,然後在 處定義符號根嗎htdocs

相關內容