Skip to content

Commit

Permalink
docs(turbopack): reduce documentation size
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonoj committed Feb 13, 2024
1 parent d1ea41c commit b99b490
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/next-swc/crates/next-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ pub use next_edge::context::{
get_edge_chunking_context, get_edge_compile_time_info, get_edge_resolve_options_context,
};
pub use page_loader::{create_page_loader_entry_module, PageLoaderAsset};
pub use turbopack_binding::{turbopack::node::source_map, *};
use turbopack_binding::turbo;
pub use turbopack_binding::{turbopack, turbopack::node::source_map};
pub use util::{get_asset_path_from_pathname, pathname_for_path, PathType};

pub fn register() {
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy-turbopack-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fi
mdbook build --dest-dir $(pwd)/target/mdbook ./packages/next-swc/docs

PACKAGES="-p next-swc-napi -p next-api -p next-build -p next-core -p next-custom-transforms"
RUSTDOCFLAGS="-Z unstable-options --enable-index-page" cargo doc $PACKAGES --no-deps --document-private-items
RUSTDOCFLAGS="-Z unstable-options --enable-index-page" cargo doc $PACKAGES --no-deps

cp -r $(pwd)/target/doc $(pwd)/target/mdbook/rustdoc

Expand Down

0 comments on commit b99b490

Please sign in to comment.