Some minor stylistic improvements on docs generation
- [x] Show links to prelude, builtins and stdlib - [x] Remove project 'owner' in the header (only show repository) - [x] Fix type annotation overflow on mobile - [x] Remove the prewrap mode on mobile
This commit is contained in:
@@ -192,7 +192,7 @@ fn generate_module(
|
||||
documentation: render_markdown(&module.ast.docs.iter().join("\n")),
|
||||
modules_prefix: modules_prefix.to_string(),
|
||||
modules,
|
||||
project_name: &config.name.to_string(),
|
||||
project_name: &config.name.repo.to_string(),
|
||||
page_title: &format!("{} - {}", module.name, config.name),
|
||||
module_name: module.name.clone(),
|
||||
project_version: &config.version.to_string(),
|
||||
@@ -285,7 +285,7 @@ fn generate_readme(
|
||||
breadcrumbs: ".",
|
||||
modules_prefix: modules_prefix.to_string(),
|
||||
modules,
|
||||
project_name: &config.name.to_string(),
|
||||
project_name: &config.name.repo.to_string(),
|
||||
page_title: &config.name.to_string(),
|
||||
project_version: &config.version.to_string(),
|
||||
content: render_markdown(&content),
|
||||
|
||||
Reference in New Issue
Block a user