mirror of
https://github.com/agentscope-ai/ReMe.git
synced 2026-09-07 08:26:06 +00:00
fix(docs): use uncached navigation icon (#521)
This commit is contained in:
parent
8c3d3016e3
commit
193fd418fb
5 changed files with 5 additions and 5 deletions
|
|
@ -256,7 +256,7 @@ export default defineConfig({
|
|||
},
|
||||
},
|
||||
head: [
|
||||
["link", { rel: "icon", type: "image/svg+xml", href: `${base}favicon.svg` }],
|
||||
["link", { rel: "icon", type: "image/svg+xml", href: `${base}reme-icon.svg` }],
|
||||
["meta", { name: "theme-color", content: "#087f6a" }],
|
||||
["script", {}, legacyRedirectScript],
|
||||
],
|
||||
|
|
@ -277,7 +277,7 @@ export default defineConfig({
|
|||
buildLlmsFiles(siteConfig.outDir);
|
||||
},
|
||||
themeConfig: {
|
||||
logo: "/favicon.svg",
|
||||
logo: "/reme-icon.svg",
|
||||
siteTitle: "ReMe",
|
||||
nav: [
|
||||
...nav("zh"),
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@
|
|||
</filter>
|
||||
</defs>
|
||||
|
||||
<!-- Liquid glass tile shared with the full ReMe wordmark. -->
|
||||
<g filter="url(#shadow)">
|
||||
<rect x="3" y="3" width="58" height="58" rx="18" fill="url(#glass)"/>
|
||||
<rect x="3.75" y="3.75" width="56.5" height="56.5" rx="17.25" fill="none" stroke="url(#brand)" stroke-opacity="0.46" stroke-width="1.5"/>
|
||||
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
|
@ -201,6 +201,7 @@ await cp(path.join(repoDir, "docs"), outputDir, {
|
|||
filter: (source) => ![".DS_Store", "plans"].includes(path.basename(source)),
|
||||
});
|
||||
await cp(path.join(siteDir, "public", "CNAME"), path.join(outputDir, "public", "CNAME"));
|
||||
await cp(path.join(repoDir, "docs/figure/reme-icon.svg"), path.join(outputDir, "public", "reme-icon.svg"));
|
||||
await cp(path.join(repoDir, "docs/figure/reme-logo-fashion.svg"), path.join(outputDir, "public", "reme-logo.svg"));
|
||||
|
||||
const sourceMap = {};
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ const requiredFiles = [
|
|||
"index.html",
|
||||
"404.html",
|
||||
"CNAME",
|
||||
"favicon.svg",
|
||||
"reme-icon.svg",
|
||||
"reme-logo.svg",
|
||||
"hashmap.json",
|
||||
"sitemap.xml",
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ test("generates the callable Job reference from default.yaml", async () => {
|
|||
test("keeps generated content disposable and excludes internal plans", async () => {
|
||||
await assert.rejects(access(path.join(generatedDir, "plans")));
|
||||
await access(path.join(generatedDir, ".vitepress", "config.mts"));
|
||||
await access(path.join(generatedDir, "public", "favicon.svg"));
|
||||
await access(path.join(generatedDir, "public", "reme-icon.svg"));
|
||||
await access(path.join(generatedDir, "public", "reme-logo.svg"));
|
||||
assert.equal(
|
||||
(await readFile(path.join(generatedDir, "public", "CNAME"), "utf8")).trim(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue