Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@yookue/typedoc-raw-content

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yookue/typedoc-raw-content

Generates extra raw html contents during Typedoc compilation

  • 0.1.1
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@yookue/typedoc-raw-content

NPM version Software License NPM downloads

🏅 Generates extra raw html contents during Typedoc compilation 👍

Features

✅ Support hooking head.begin event

✅ Support hooking head.end event

✅ Support hooking body.begin event

✅ Support hooking body.end event

✅ Support hooking content.begin event

✅ Support hooking content.end event

✅ Support hooking sidebar.begin event

✅ Support hooking sidebar.end event

✅ Support hooking pageSidebar.begin event

✅ Support hooking pageSidebar.end event

✅ Support hooking footer.begin event

✅ Support hooking footer.end event

Quickstart

You can install this package in your typescript project as follows:

$ npm install @yookue/typedoc-raw-content --save-dev

Enjoy your coding journey with typedoc-raw-content. ✌️

Usage

  • Using in command line
$ typedoc [TARGET] --plugin @yookue/typedoc-raw-content
  • Using in typedoc.json
{
    "plugin": [
        "@yookue/typedoc-raw-content"
    ]
}

Options

Here are the available options, specified them in typedoc.json:

Render EventOption NameValue Type
head.beginrawHeadBeginsstring[]
head.endrawHeadEndsstring[]
body.beginrawBodyBeginsstring[]
body.endrawBodyEndsstring[]
content.beginrawContentBeginsstring[]
content.endrawContentEndsstring[]
sidebar.beginrawSidebarBeginsstring[]
sidebar.endrawSidebarEndsstring[]
pageSidebar.beginrawPageSidebarBeginsstring[]
pageSidebar.endrawPageSidebarEndsstring[]
footer.beginrawFooterBeginsstring[]
footer.endrawFooterEndsstring[]

Example

Take rawFooterEnds option as an example in typedoc.json:

{
    "hideGenerator": true,
    "rawFooterEnds": [
        "<div style='text-align: center'>Copyright &copy; 2024 Yookue Ltd. All rights reserved</div>"
    ]
}

Other options are all the same as the sample above.

Document

License

This project is under the MIT License.

Website

Keywords

FAQs

Package last updated on 05 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc