Docs exports: JSON llms.txt llms-full.txt Agent Files

class Shards::Spec::AIDocs

Overview

Optional ai_docs section in shard.yml for customizing AI documentation distribution. When absent, auto-detection handles standard locations.

ai_docs:
  include:
    - docs/claude/custom_guide.md
  exclude:
    - .claude/skills/internal_dev_tool/

Defined in:

spec.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : YAML::PullParser) #

[View source]
def self.new(include __arg1 : Array(String) = [] of String, exclude : Array(String) = [] of String) #

[View source]

Instance Method Detail

def exclude : Array(String) #

Paths to exclude from auto-detected AI docs.


[View source]
def include : Array(String) #

Extra files to include beyond auto-detected locations.


[View source]