
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@neo4j-antora/antora-modify-sitemaps
Advanced tools
Override default Antora sitemap generator to include only pages for the current version, and optionally move sitemaps into the component folder for the current version
Use the antora-modify-sitemaps
extension to modify the default Antora sitemap generation.
Add the extension in a playbook
antora:
extensions:
- require: "@neo4j-antora/antora-modify-sitemaps"
sitemap_version: '1.0'
sitemap_loc_version: 'current'
move_sitemaps_to_components: true
data:
components:
my-component: 'my-version'
Required.
Specifies a version that will be used for the sitemap for all components in the site catalog.
You can override this value for specific components by using the data
property.
Note: For versionless content, where the antora.yml file specifies version: ~
, use sitemap_version: '~'
.
Optional.
If this is specified, updates the paths in the entries in each generated sitemap file, replacing the version with the value of sitemap_loc_version
.
For example, with sitemap_loc_version: 'current'
<loc>https://example.com/my-component/my-version/path/to/page/</loc>
is updated to:
<loc>https://example.com/my-component/current/path/to/page/</loc>
Note: If your content is versionless only, you do not need to specify a value for sitemap_loc_version, and any value you do specify is ignored for any versionless content.
Optional.
If set to true, the sitemap for each component will be moved to site/<component>/<sitemap_version>/sitemap.xml
Optional.
If some of your components have different versions that you want to generate a sitemap for, you can specify them with this option.
For example, if you have specified sitemap_version: '2.0'
, but you have a component, my-component
that is at version 1.0, you can generate a sitemap at my-component/1.0/sitemap.xml with the following:
data:
components:
my-component: '1.0'
FAQs
Override default Antora sitemap generator to include only pages for the current versions of components, and optionally move sitemaps into the component folders for the current versions
The npm package @neo4j-antora/antora-modify-sitemaps receives a total of 216 weekly downloads. As such, @neo4j-antora/antora-modify-sitemaps popularity was classified as not popular.
We found that @neo4j-antora/antora-modify-sitemaps 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.