Giter Site home page Giter Site logo

[SR-15408] Building documentation with a fallback display name that includes a space produces a broken-looking article about swift-docc HOT 7 CLOSED

apple avatar apple commented on June 27, 2024
[SR-15408] Building documentation with a fallback display name that includes a space produces a broken-looking article

from swift-docc.

Comments (7)

swift-ci avatar swift-ci commented on June 27, 2024

Comment by Waheed Afolabi (JIRA)

Hi @ethan-kusters, I'd like to take this up if I can get some guidance!

from swift-docc.

d-ronnqvist avatar d-ronnqvist commented on June 27, 2024

Hi waheedNowLovesSwift (JIRA User), if you still like to take this I can help you with that.

There's a type called GeneratedDataProvider that generates a documentation bundle when docc is passed a directory of symbol graph files without also being passed a documentation catalog as input.

This generated bundle is defined to contain a single markup file and the in-memory content for that file is generated here.

There's an assumption here that the display name provided via `--fallback-display-name` matches the module name of one of the symbol graphs.

It would be more correct to instead generate in-memory markup files from the module names in the symbol graph files.

from swift-docc.

d-ronnqvist avatar d-ronnqvist commented on June 27, 2024

Alternatively I can find some time to work on this later this week.

from swift-docc.

d-ronnqvist avatar d-ronnqvist commented on June 27, 2024

I opened a PR here #52

from swift-docc.

swift-ci avatar swift-ci commented on June 27, 2024

Comment by Waheed Afolabi (JIRA)

@d-ronnqvist seems you've worked on this already!?

from swift-docc.

d-ronnqvist avatar d-ronnqvist commented on June 27, 2024

Yes. If you want to work on something else in this area Ethan opened https://bugs.swift.org/browse/SR-15572 as a follow up change to this. I can talk give you some guidance on where in the code to work on that.

Just a heads up about that, depending on the design, that change should likely have a brief pitch in the forums since it potentially adds new developer facing syntax. If you want to work on the implementation but not make the pitch I can make the pitch in the forums and leave the implementation to you (and provide guidance).

I can also provide guidance on another bug if there's something else that you want to work on. Just assign the bug to yourself and @mention me in the comments.

from swift-docc.

swift-ci avatar swift-ci commented on June 27, 2024

Comment by Waheed Afolabi (JIRA)

Okay @d-ronnqvist I'll be glad to work on this, https://bugs.swift.org/browse/SR-15572.

Your guidance will be of immense importance for me as this would be my first contribution!

from swift-docc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.