Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(docs): added favicon and icon on page title #135

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 33 additions & 33 deletions docs/_sidebar.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
* [📦 Introduction](/)
* [🔹 About Pandora](/)
* [🔹 Installation](/)
* [🧩 Core Concepts](/concepts/)
* [🔹 Editor Interface](/concepts/editor.md)
* [🔹 Categories and Entities](/concepts/entities.md)
* [🔹 Properties](/concepts/properties/)
* [🔹 String](/concepts/properties/string.md)
* [🔹 Integer](/concepts/properties/integer.md)
* [🔹 Float](/concepts/properties/float.md)
* [🔹 Bool](/concepts/properties/bool.md)
* [🔹 Color](/concepts/properties/color.md)
* [🔹 Reference](/concepts/properties/reference.md)
* [🔹 Resource](/concepts/properties/resource.md)
* [🔹 Array](/concepts/properties/array.md)
* [🔌 GDScript API](/api/)
* [🔹 Accessing Data](/api/access.md)
* [🔹 Entity Instancing](/api/instancing.md)
* [🔹 Saving and Loading](/api/saveload.md)
* [🧠 Mastery](/mastery/)
* [🔹 Generating ID Constants](/mastery/id-constants.md)
* [🔹 Custom Scripts](/mastery/custom-scripts.md)
* [🔥 Ignis: The Flame Master's Story](/ignis/)
* [🔹 Crafting Fire Spells](/ignis/spells.md)
* [🔹 Designing the Quest](/ignis/quest.md)
* [🔹 The Tome of Fire](/ignis/tome.md)
* [🔹 Weaving an Adventure](/ignis/adventure.md)
* [🍻 Contribute](/contribute/)
* [🔹 Architecture](/contribute/architecture.md)
* [🔹 Property Inheritance](/contribute/inheritance.md)
* [🔹 Adding New Properties](/contribute/adding-new-property.md)
* [🔹 Lifecycle Addon State](/contribute/lifecycle.md)
* [🔹 UI Components](/contribute/ui-components.md)
- [📦 Introduction](/)
- [🔹 About Pandora](/)
- [🔹 Installation](/)
- [🧩 Core Concepts](/concepts/ "🧩 Core Concepts")
- [🔹 Editor Interface](/concepts/editor.md "🧩 Editor Interface")
- [🔹 Categories and Entities](/concepts/entities.md "🧩 Categories and Entities")
- [🔹 Properties](/concepts/properties/ "🧩 Properties")
- [🔹 String](/concepts/properties/string.md "🧩 String")
- [🔹 Integer](/concepts/properties/integer.md "🧩 Integer")
- [🔹 Float](/concepts/properties/float.md "🧩 Float")
- [🔹 Bool](/concepts/properties/bool.md "🧩 Bool")
- [🔹 Color](/concepts/properties/color.md "🧩 Color")
- [🔹 Reference](/concepts/properties/reference.md "🧩 Reference")
- [🔹 Resource](/concepts/properties/resource.md "🧩 Resource")
- [🔹 Array](/concepts/properties/array.md "🧩 Array")
- [🔌 GDScript API](/api/)
- [🔹 Accessing Data](/api/access.md "🔌 Accessing Data")
- [🔹 Entity Instancing](/api/instancing.md "🔌 Entity Instancing")
- [🔹 Saving and Loading](/api/saveload.md "🔌 Saving and Loading")
- [🧠 Mastery](/mastery/)
- [🔹 Generating ID Constants](/mastery/id-constants.md "🧠 Generating ID Constants")
- [🔹 Custom Scripts](/mastery/custom-scripts.md "🧠 Custom Scripts")
- [🔥 Ignis: The Flame Master's Story](/ignis/)
- [🔹 Crafting Fire Spells](/ignis/spells.md "🔥 Crafting Fire Spells")
- [🔹 Designing the Quest](/ignis/quest.md "🔥 Designing the Quest")
- [🔹 The Tome of Fire](/ignis/tome.md "🔥 The Tome of Fire")
- [🔹 Weaving an Adventure](/ignis/adventure.md " 🔥 Weaving an Adventure")
- [🍻 Contribute](/contribute/)
- [🔹 Architecture](/contribute/architecture.md "🍻 Architecture")
- [🔹 Property Inheritance](/contribute/inheritance.md "🍻 Property Inheritance")
- [🔹 Adding New Properties](/contribute/adding-new-property.md "🍻 Adding New Properties")
- [🔹 Lifecycle Addon State](/contribute/lifecycle.md "🍻 Lifecycle Addon State")
- [🔹 UI Components](/contribute/ui-components.md "🍻 UI Components")
Binary file added docs/assets/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Godot 4 addon for RPG data management such items, inventories, spells, mobs, quests and NPCs.">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<link rel="shortcut icon" href="assets/favicon.png" type="image/png">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css">
<link
rel="stylesheet"
Expand Down Expand Up @@ -34,6 +35,18 @@
style: 'text-align: right;',
class: 'className',
},
plugins: [
titlePlugin({
suffix: ' | Pandora'
})
]
}
function titlePlugin(config) {
return (hook, vm) => {
hook.doneEach((content) => {
document.title += config.suffix
});
}
}
</script>
<!-- Docsify v4 -->
Expand Down