Skip to content

llms-txt laundry list #14062

@cwickham

Description

@cwickham

@cscheid

Empty index.llms.md

index.llms.md, generated from index.qmd, at the top-level of quarto-web is empty

Links with anchors aren't converted

Links with anchors aren't converted to point at .llms.md files. E.g. index.qmd:

---
title: "llms"
---

[Me](about.qmd#me)

The link in index.llms.md is [Me](about.qmd#me) and should be [Me](about.llms.md#me)

Do better with tabsets

tabsets.qmd:

::: {.panel-tabset}

## First

First content

## Second

Second content

:::

The tabset headings are separated from their contents in tabsets.llms.md:

- [First]()
- [Second]()

First content

Second content

Breadcrumbs shouldn't be included

E.g. add a sidebar in _quarto.yml:

website:
  title: "llms"
  llms-txt: true
  sidebar:
    contents:
      - section: Info
        contents: 
          - about.qmd

Then in about.llms.md:

1.  [Info](./about.llms.md)
2.  [About](./about.llms.md)

# About

About this site

Code annotation isn't great

index.qmd:

```r
library(tidyverse) #<1>
?ggplot #<2>
```
1. First annotation
2. Second annotation

Generates index.llms.md:

``` r
1library(tidyverse)
2?ggplot
```

1  
First annotation

2  
Second annotation

Conditional content for llms-txt

We talked about how it would be useful to have:

::: {.content-visible when-format="llms-txt"}
Will only appear in `.llms.md`
:::

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestwebsitesIssues creating websites

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions