crystal icon indicating copy to clipboard operation
crystal copied to clipboard

View source links not apparing

Open Blacksmoke16 opened this issue 10 months ago • 0 comments

I recently noticed that seemingly after https://github.com/athena-framework/athena/pull/471 the View source links no longer appear. My configuration is like:

- mkdocstrings:
    default_handler: crystal
    custom_templates: ../../../docs/templates
    handlers:
      crystal:
        crystal_docs_flags:
          - ../../../docs/index.cr
          - ../../../lib/athena-clock/src/athena-clock.cr
          - ../../../lib/athena-clock/src/spec.cr
        source_locations:
          lib/athena-clock: https://github.com/athena-framework/clock/blob/v{shard_version}/{file}#L{line}

My hunch is that whatever logic handles this is no longer matching because of the ../../../. But not really sure where that happens or what the best way to debug it is :/. Any ideas?

Blacksmoke16 avatar Apr 06 '25 19:04 Blacksmoke16