mirror of
https://github.com/tauri-apps/rustdocusaurus.git
synced 2026-02-04 02:31:18 +01:00
fix: Fix line break for list types
This commit is contained in:
9
github-action/dist/index.js
vendored
9
github-action/dist/index.js
vendored
@@ -1027,7 +1027,7 @@ const generateSidebar = __webpack_require__(4762);
|
||||
const fs = __webpack_require__(5747).promises;
|
||||
|
||||
(async () => {
|
||||
// try {
|
||||
try {
|
||||
// Where your docs live, should be the folder containing the crates docs
|
||||
const originPath = core.getInput("originPath"); // e.g. "/path/to/project/target/doc/";
|
||||
|
||||
@@ -1068,9 +1068,10 @@ const fs = __webpack_require__(5747).promises;
|
||||
fs.writeFile(sidebarPath, JSON.stringify(sidebarItems, null, 2));
|
||||
|
||||
console.log("Tasks completed!");
|
||||
// } catch (error) {
|
||||
// core.setFailed(error.message);
|
||||
// }
|
||||
} catch (error) {
|
||||
core.debug(error.stack);
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
})();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user