fix: rename contributing/license pages to avoid Mintlify reserved slug conflict

mint export fails with 'file does not exist' for pages named 'contributing'
and 'license' — these are reserved by Mintlify's GitHub integration layer.
Renamed to contributing-guide.md and project-license.md and updated all
nav entries and cross-links throughout the docs.

Also adds .gitattributes LF rules to prevent CRLF issues from Windows devs.
This commit is contained in:
KaifAhmad1
2026-05-23 00:14:23 +05:30
parent f4a79ae851
commit 453eeb7ca9
14 changed files with 2654 additions and 2646 deletions
+8
View File
@@ -1,3 +1,11 @@
# Line endings — force LF so Mintlify/Linux CI parses frontmatter correctly
* text=auto eol=lf
*.md text eol=lf
*.json text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.py text eol=lf
# Linguist documentation and generated files # Linguist documentation and generated files
# This ensures GitHub language statistics reflect the core Python code # This ensures GitHub language statistics reflect the core Python code
+1 -1
View File
@@ -62,7 +62,7 @@ Published research using Semantica? [Let us know](https://github.com/semantica-a
## See Also ## See Also
<CardGroup cols={2}> <CardGroup cols={2}>
<Card title="License" icon="file-contract" href="license"> <Card title="License" icon="file-contract" href="project-license">
MIT License details. MIT License details.
</Card> </Card>
<Card title="Community" icon="users" href="community"> <Card title="Community" icon="users" href="community">
+1 -1
View File
@@ -55,7 +55,7 @@ Have a project using Semantica? [Submit it on GitHub](https://github.com/semanti
See the [Contributing Guide](contributing) for full details. See the [Contributing Guide](contributing) for full details.
<CardGroup cols={2}> <CardGroup cols={2}>
<Card title="Contributing" icon="code-pull-request" href="contributing"> <Card title="Contributing" icon="code-pull-request" href="contributing-guide">
Submit code, docs, or tests. Submit code, docs, or tests.
</Card> </Card>
<Card title="GitHub Issues" icon="circle-dot" href="https://github.com/semantica-agi/semantica/issues"> <Card title="GitHub Issues" icon="circle-dot" href="https://github.com/semantica-agi/semantica/issues">
+1 -1
View File
@@ -61,7 +61,7 @@ See the [Contributing Guide](contributing) for full details.
## See Also ## See Also
<CardGroup cols={2}> <CardGroup cols={2}>
<Card title="Contributing" icon="code-pull-request" href="contributing"> <Card title="Contributing" icon="code-pull-request" href="contributing-guide">
Step-by-step guide for submitting PRs. Step-by-step guide for submitting PRs.
</Card> </Card>
<Card title="FAQ" icon="circle-question" href="faq"> <Card title="FAQ" icon="circle-question" href="faq">
+2 -2
View File
@@ -194,10 +194,10 @@
"pages": [ "pages": [
"community", "community",
"community-projects", "community-projects",
"contributing", "contributing-guide",
"governance", "governance",
"citation", "citation",
"license" "project-license"
] ]
} }
] ]
+1 -1
View File
@@ -235,7 +235,7 @@ pip install --upgrade semantica
<Card title="GitHub Issues" icon="github" href="https://github.com/semantica-agi/semantica/issues"> <Card title="GitHub Issues" icon="github" href="https://github.com/semantica-agi/semantica/issues">
Bug reports and feature requests. Bug reports and feature requests.
</Card> </Card>
<Card title="Contributing" icon="code-pull-request" href="contributing"> <Card title="Contributing" icon="code-pull-request" href="contributing-guide">
Help improve Semantica. Help improve Semantica.
</Card> </Card>
</CardGroup> </CardGroup>
+1 -1
View File
@@ -98,7 +98,7 @@ MIT License — see [LICENSE](https://github.com/semantica-agi/semantica/blob/ma
## See Also ## See Also
<CardGroup cols={2}> <CardGroup cols={2}>
<Card title="Contributing" icon="code-pull-request" href="contributing"> <Card title="Contributing" icon="code-pull-request" href="contributing-guide">
How to submit changes. How to submit changes.
</Card> </Card>
<Card title="Community" icon="users" href="community"> <Card title="Community" icon="users" href="community">
+1 -1
View File
@@ -83,7 +83,7 @@ By contributing to Semantica, you agree that your contributions will be licensed
## See Also ## See Also
<CardGroup cols={2}> <CardGroup cols={2}>
<Card title="Contributing" icon="code-pull-request" href="contributing"> <Card title="Contributing" icon="code-pull-request" href="contributing-guide">
How to contribute to the project. How to contribute to the project.
</Card> </Card>
<Card title="Citation" icon="quote-left" href="citation"> <Card title="Citation" icon="quote-left" href="citation">