
Security News
Official Go SDK for MCP in Development, Stable Release Expected in August
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
@factorial/docs
Advanced tools
_Factorial Docs_ lets you quickly create a static documentation site based on Markdown files in your project.
Factorial Docs lets you quickly create a static documentation site based on Markdown files in your project.
npm i @factorial/docs
or
yarn add @factorial/docs
Then create a .eleventy.js
(or any name of your choice) with the following content:
const config = require("@factorial/docs/config");
module.exports = function (eleventyConfig) {
return config(eleventyConfig, {
⦠// options (see below)
});
};
All options are optional.
projectName
: string (default: "Factorial"
)"phabalicious"
githubUrl
: string|null (default: null
)"https://github.com/factorial-io/phabalicious"
heroImage
: object
src
: stringwidth
: numberheight
: numberlogo
: object | false
src
: string (default: "https://logo.factorial.io/color.png"
)width
: number (default: 30
)height
: number (default: 42
)footerLogo
: object | false (default: logo
)
src
: stringwidth
: numberheight
: numbertwitter
: stringinput
: string (default: "."
)output
: string (default: "build"
)openSource
: boolean (default: false
)algolia
: objectappId
, apiKey
, indexName
)menu
: array (default: null
)In your input
directory, please create an index.md
with the following content:
---
homepage: true
hero_text:
tagline:
action_text:
action_link:
features:
- title:
details:
icon:
footer:
---
By default the entries in the menu are in no peticular order. If you want to control the order or hide certain menu entries, you can define an array like the following:
[
{
path: "documentation",
children: ["guide", "installation", "usage"],
},
{
path: "blog",
children: ["introduction", "architecture"],
},
"changelog",
];
Ideally the folder structure reflects the menu structure. That means, for the example above, the folder structure would look like this:
āā documentation/
ā āā README.md / index.md
ā āā guide.md
ā āā installation.md
ā āā usage.md
āā blog/
ā āā README.md / index.md
| āā introduction.md
| āā architecture.md
āā changelog.md
This would create URLs like the following:
documentation/
documentation/guide.html
documentation/installation.html
documentation/usage.html
blog/
blog/introduction.html
blog/architecture.html
changelog.html
If you prefer to have for example documentation.html
instead of documentation/
, you could also create a documentation.md
in the root directory instead of a README.md
or index.md
inside documentation/
.
If you do not want to move the files into a directory, but keep the structure in the menu, you could create the files like this:
āā documentation.md
āā guide.md
āā installation.md
āā usage.md
In this case, you need to add parent
to the front matter of a page:
---
parent: documentation
---
This would create URLs like the following:
documentation.html
guide.html
installation.html
usage.html
To add a meta description, you can use the front matter of a page:
---
meta_description: ā¦
---
HOST
is hostname of the docs, for example "https://docs.phab.io"
. This is important to generate a correct sitemap.
NOTE: The following example are for yarn
users. If you use npm
, you need to add a script to your package.json
and then use npm run ā¦
instead.
FDOCS_HOST=<HOST> yarn fdocs
FDOCS_HOST=<HOST> yarn fdocs --config=.config.js
FDOCS_HOST=<HOST> yarn fdocs --config=.config.js --serve
FDOCS_HOST=<HOST> yarn fdocs --config=.config.js --serve
A sitemap.xml
is automatically created. Please note that when using --serve
, it is only created once when the process starts.
FAQs
_Factorial Docs_ lets you quickly create a static documentation site based on Markdown files in your project.
The npm package @factorial/docs receives a total of 26 weekly downloads. As such, @factorial/docs popularity was classified as not popular.
We found that @factorial/docs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Ā It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.
Security News
New research reveals that LLMs often fake understanding, passing benchmarks but failing to apply concepts or stay internally consistent.
Security News
Django has updated its security policies to reject AI-generated vulnerability reports that include fabricated or unverifiable content.