Skip to content

Changing the "label" name for the category to anything other than "Reference" in the sidebar.js results in failure to render the OpenRPC sidebar content.  #71

@0xSatoriSync

Description

@0xSatoriSync

Problem:

Following the instructions for instillation to integrate into an existing sidebar here: https://github.com/MetaMask/docusaurus-openrpc?tab=readme-ov-file#2-integrate-into-the-existing-sidebar

Changing the "label" name for the category to anything other than "Reference" in the sidebar.js results in failure to render the OpenRPC sidebar content. 

{
	type: "category",
	label: "Reference", // Changing this label
	link: { type: "generated-index" },
	items: [
		{
			type: "autogenerated",
			dirName: "openrpc",
		},
	],
},

Expected Behavior:

The label name for the sidebar category can be customized to a name other than "Reference."

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions