Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 3.2k
chore(docusaurus): update to latest#3014
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
9cfc0b678c3bb0806ced2e90ea66da99aa3fb2e419c969de45af40a93b4173d1b4b6657f89e7b163f9f10b3cbdbb6381b0af1ec1f487d8a2782a7aeae81a73e4af97a8eaf36cad56f82e5d9ac852095466ba742744eb7cc642aaea26d28bceaefb543a3e80c5e2ab7e07afdfad1ec4be28d7b2691c7b1855bc40a2e051f54ac419291db9cafb90efda3fe039ac11a7970dd0335c0c6e06473b5d3b008977f04586bc3f0320bd636af05346af74a89b449c02ae05913472a0ccfFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -27,13 +27,10 @@ Thanks for your interest in contributing to Ionic's documentation! :tada: Check | ||
| In order to run the documentation locally, install the dependencies and run the development server: | ||
| ```sh | ||
| $ npm install --legacy-peer-deps | ||
| $ npm start | ||
| npm install | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I had to hide the default icon that Docusaurus renders and import a new icon via CSS. The new icon has a bolder setup. This feels a bit weird. Do we want to continue with this approach or use the default? Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't fully understand: Is the thinner icon the default or the new icon you imported via CSS? ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The thinner icon is the default that Docusaurus provides. Main also opts out of using the default and uses the import via CSS. The reason seems to be due to wanting a different icon at that time. Here's a screenshot of the imported icon and the default icon on main side by side.
Fast forward to today, Docusaurus has changed it's icon. It matches the one shown in main but the SVG is thinner.
I tried to match the default to main but couldn't get it so I opted to import main's icon via CSS. Realizing it now, I might be able to import the language icon from Ionicons. It might match the thickness. I'll give this a shot. liamdebeasi marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| npm start | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it's fixed. Let me know if it's still needs to be addressed. ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you do see some differences. It's due to Docusaurus changing how they calculate the columns. | ||
| ``` | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The "Note" fields are no longer yellow. Is this an intentional change? Example: branch: https://ionic-docs-git-docusaurus-update-ionic1.vercel.app/docs/cli#help | ||
| > [!NOTE] | ||
| > Certain versions of npm (5-8) and Node.js (10-16) are required to run certain scripts. | ||
| ### Linting Documentation | ||
| This repository uses [Prettier](https://prettier.io/), an opinionated code formatter, in order to keep consistent formatting throughout the documentation. Run the following command to automatically fix all formatting, and then push any changes: | ||
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.





There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Command+K icon in the search field has the wrong ratio:
The command symbol should roughly be the same size as the K