Skip to content

Move code output style file to this repo? #226

@joelostblom

Description

@joelostblom

I was going to copy the changes from seedcase-project/check-datapackage#260 to the other seedcase projects to ensure that the code output always is styled the same in the docs pages. However, I realized that having a separate copy in each repo becomes quite clunky if we decide to update the styling. And since the _pretty_repr.qmd file really is all output documentation styling, I'm thinking that it would make more sense to have that file in this repo instead and consider it part of the seedcase-theme (another way to think about this is that if we could have done those same color modification with css only, then it would for sure live in this repo).

My understanding is that when this extension is installed, all the files from the _extensions folder are copied over locally. So if we include _pretty_repr.qmd there, it would become available to all projects that use seedcase-theme and the relevant doc pages could include it using the following line (which I think is similar to how we currently include favicons etc, eg in https://github.com/seedcase-project/seedcase-flower/pull/47/changes):

{{< include ../../_extensions/seedcase-project/seedcase-theme/_pretty_repr.qmd >}}

What do you think of that organization @lwjohnst86 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions