|
| 1 | +--- |
| 2 | +title: "October 2024" |
| 3 | +description: "New landing page, advanced footer, and more" |
| 4 | +--- |
| 5 | + |
| 6 | +<Info>Last updated on: **2024-10-23**</Info> |
| 7 | + |
| 8 | +## [Code Line Highlighting](/content/components/code#line-highlighting) |
| 9 | + |
| 10 | +You can now highlight lines of code in your docs to emphasize and bring attention to important parts by adding a special comment after the language identifier. Use curly braces `{}` and specify line numbers or ranges separated by commas. |
| 11 | + |
| 12 | +```javascript Line Highlighting Example {1,3-5} |
| 13 | +const greeting = "Hello, World!"; |
| 14 | +function sayHello() { |
| 15 | + console.log(greeting); |
| 16 | +} |
| 17 | +sayHello(); |
| 18 | +``` |
| 19 | + |
| 20 | +````md |
| 21 | +```javascript Line Highlighting Example {1,3-5} |
| 22 | +const greeting = "Hello, World!"; |
| 23 | +function sayHello() { |
| 24 | + console.log(greeting); |
| 25 | +} |
| 26 | +sayHello(); |
| 27 | +``` |
| 28 | +```` |
| 29 | + |
| 30 | +## Light mode code blocks |
| 31 | + |
| 32 | +Code blocks now have a light mode variant which can be enabled by adding the following to your `mint.json`: |
| 33 | + |
| 34 | +```json |
| 35 | +"code": { |
| 36 | + "mode": "auto" |
| 37 | +} |
| 38 | +``` |
| 39 | + |
| 40 | +## Advanced Footer |
| 41 | + |
| 42 | +<img src="/images/changelog/advanced-footer.gif" alt="Advanced Footer" /> |
| 43 | + |
| 44 | +You can now add more links to the standard footer. This upgrade |
| 45 | +provides more consistency between landing pages and docs, or greater customization |
| 46 | +if you want to spotlight specific pages like socials or status logs. |
| 47 | + |
| 48 | +## New Landing Page |
| 49 | + |
| 50 | +<img src="/images/changelog/landing-page.jpeg" alt="Landing Page" /> |
| 51 | + |
| 52 | +1. Showcasing vision for the future |
| 53 | + |
| 54 | +It's been a year since we've last updated our landing page, and our team has shipped A LOT. |
| 55 | + |
| 56 | +As we grow, we will no longer be just a documentation platform, but the platform for technical content, encompassing much more than just docs. |
| 57 | + |
| 58 | +2. Feature our new customers |
| 59 | + |
| 60 | +We've gotten to work with many incredible companies, and wanted to give them a shoutout. |
| 61 | + |
| 62 | +3. Increase iteration velocity |
| 63 | + |
| 64 | +Instead of building a standalone app, we built it in Webflow. This way, our entire team can contribute and experiment with the landing page. |
| 65 | + |
| 66 | +## Filter search based on the current user |
| 67 | + |
| 68 | +When user auth is enabled, search results are now filtered based on the current logged in user so that they only see the relevant content. |
| 69 | + |
| 70 | +## Custom Prompts for AI Chat |
| 71 | + |
| 72 | +You can now customize the prompts for the AI chat. Please reach out to [support ](mailto:[email protected]) if you'd like to customize the prompts. |
| 73 | + |
| 74 | +## Dashboard Improvements |
| 75 | + |
| 76 | +- Consolidated the login and signup pages to decrease friction and confusion. |
| 77 | +- Implemented the discovery login flow so that users that are members of multiple organizations can now switch between them. |
| 78 | + |
| 79 | +## Bug Fixes |
| 80 | + |
| 81 | +- Fixed `suggestEdit` not showing up even when enabled. |
| 82 | +- Fixed keyboard navigation for Search and Chat such that you can now use the up and down arrow keys to navigate the results. |
| 83 | +- Don't allow search engines to crawl user-auth protected pages. |
| 84 | +- Revalidate the cache when an org is deleted. |
| 85 | +- We now use the Scalar OpenAPI parser to parse OpenAPI definitions which improves the performance, fixes parsing issues, and surfaces better error messages. |
| 86 | +- Top-level descriptions are now supported in API reference pages autogenerated from OpenAPI definitions. |
| 87 | +- Add in-line-style support for icons |
| 88 | +- Fixed the pop-in of custom CSS in docs. |
| 89 | +- Properly show in-line code styling in conjunction with links. |
| 90 | +- Maintain scroll position when you click the back button in a browser. |
0 commit comments