Velohost Velohost

Astro & Compliance

Astro Legal Plugin FAQs

Clear, production-focused answers explaining how Astro Legal generates legal policies, enforces layouts, and guarantees deterministic, user-owned output.

Answers

What does the Astro Legal plugin do?

Astro Legal generates complete, production-ready legal policy pages for Astro sites at build time using a single configuration file.

What types of policies can Astro Legal generate?

Astro Legal supports privacy policies, terms of service, acceptable use policies, compliance disclosures, security policies, and other common legal and trust documents.

How is configuration handled?

All configuration is defined in a single legal.config.json file, which controls enabled policies, output paths, organisation metadata, contact details, and the required layout.

Can I enable only certain policies?

Yes. Policies are enabled individually in the configuration file. Disabled policies are never generated.

Why does Astro Legal require a layout?

Legal pages must integrate seamlessly with a site’s design and metadata. Astro Legal enforces a required layout to guarantee consistent rendering and ownership.

How is the layout path validated?

The layout path is validated at configuration load time. Invalid or missing layouts prevent policy generation by design.

Will Astro Legal overwrite existing policy files?

No. Astro Legal will never overwrite existing files. Policies are only generated if the target file does not already exist.

Who owns the generated policy files?

You do. Once generated, all policy files are fully user-owned and can be edited or replaced freely.

Does Astro Legal run at runtime?

No. Astro Legal runs exclusively at build time and adds no runtime code or client-side scripts.

Does Astro Legal collect analytics or user data?

No. Astro Legal performs no analytics, tracking, telemetry, or outbound network requests.

Is Astro Legal deterministic?

Yes. Given the same configuration and project structure, Astro Legal always produces the same output.

Is Astro Legal safe for CI/CD pipelines?

Yes. Astro Legal is designed to run safely in CI/CD environments with no side effects or non-deterministic behaviour.

Does Astro Legal guarantee legal compliance?

No. Astro Legal provides structured templates and tooling but does not replace professional legal advice or guarantee compliance.

Is Astro Legal open source?

Yes. Astro Legal is fully open source and released under the MIT license.

Want to try it yourself? Astro Legal plugin or Velohost privacy policy or Velohost terms of service

Ready to generate legal policies for your Astro site?