Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Behind the Scenes
  3. Qt.io webservices
  4. [Suggestion] enable auto-linking of classes in quoted source to the Qt Documentation
Forum Updated to NodeBB v4.3 + New Features

[Suggestion] enable auto-linking of classes in quoted source to the Qt Documentation

Scheduled Pinned Locked Moved Qt.io webservices
18 Posts 7 Posters 7.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    Wolf P.
    wrote on last edited by
    #3

    I'd prefer a full-automated version. Optional markup for code blocks should include only things like:

    • qtversion=[spec] - for explicitly definition of the Qt version used, default is last stable
    • nolink - to inhibit auto-linking

    I had already started to implement it, but I'm a java|script beginner (albeit highly motivated ;))

    1 Reply Last reply
    0
    • F Offline
      F Offline
      Franzk
      wrote on last edited by
      #4

      Automated in code blocks, yes. Outside, not necessarily.

      "Horse sense is the thing a horse has which keeps it from betting on people." -- W.C. Fields

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • B Offline
        B Offline
        baysmith
        wrote on last edited by
        #5

        I am, of course, in favor of a auto-linking to docs feature. :)

        Nokia Certified Qt Specialist.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          troubalex
          wrote on last edited by
          #6

          I heard a similar suggestion for bug reports. I wonder though, if all the linking won't confuse people or make the posting itself hard to read. I am all for connecting the forum, the wiki and the documentation as seamlessly as possible.

          What do you think about auto-tagging instead of auto-linking? It's an extra step, that's for sure, but one would get related content alongside with the documentation.

          THE CAKE IS A LIE
          Web Community Manager - Qt Development Frameworks

          1 Reply Last reply
          0
          • B Offline
            B Offline
            baysmith
            wrote on last edited by
            #7

            If the doc links could be made to not have the [domain], I don't think they would make postings hard to read.

            I think tagging and linking serve different purposes. Tagging is useful for finding related posts in the forums. Docs linking is useful for quickly accessing references relevant to the discussion.

            Nokia Certified Qt Specialist.

            1 Reply Last reply
            0
            • T Offline
              T Offline
              troubalex
              wrote on last edited by
              #8

              Point taken. We will look into it.

              THE CAKE IS A LIE
              Web Community Manager - Qt Development Frameworks

              1 Reply Last reply
              0
              • B Offline
                B Offline
                baysmith
                wrote on last edited by
                #9

                Note that the [domain] is good in general, especially links to external sites. Although the browser tells me as well, I do like the reenforcement for general links. However, for internal or docs links, I don't think it is necessary.

                Nokia Certified Qt Specialist.

                1 Reply Last reply
                0
                • D Offline
                  D Offline
                  disperso
                  wrote on last edited by
                  #10

                  I think that the "[domain.tld]" might be useful to fight against malware, spam, links to NSFW content, etc., but it's really the intended audience of this site is probably aware enough of this practices to avoid them.

                  1 Reply Last reply
                  0
                  • B Offline
                    B Offline
                    baysmith
                    wrote on last edited by
                    #11

                    Yes, and since internal or other domains under Nokia control are not a thread, the [domain] notations are not necessary.

                    Nokia Certified Qt Specialist.

                    1 Reply Last reply
                    0
                    • F Offline
                      F Offline
                      Franzk
                      wrote on last edited by
                      #12

                      [quote author="Alexandra Leisse" date="1292004911"]I wonder though, if all the linking won't confuse people or make the posting itself hard to read.[/quote]Which is why the auto linking or doc linking should not contain the [domain] thingy. In any case, you can have a look at the QtCentre forum. Linking to Qt docs is very simple and doesn't really interfere with the message. Inside code tags auto-linking is enabled, which really isn't a pain in the butt either.

                      "Horse sense is the thing a horse has which keeps it from betting on people." -- W.C. Fields

                      http://www.catb.org/~esr/faqs/smart-questions.html

                      1 Reply Last reply
                      0
                      • G Offline
                        G Offline
                        GordonSchumacher
                        wrote on last edited by
                        #13

                        Indeed - the other thing worth mentioning there is that it would be nice to have easy wiki links - perhaps using "wiki://"? :)

                        1 Reply Last reply
                        0
                        • W Offline
                          W Offline
                          Wolf P.
                          wrote on last edited by
                          #14

                          [quote author="Alexandra Leisse" date="1292004911"] What do you think about auto-tagging instead of auto-linking?[/quote] What is auto-tagging? If it means that some tags are added automatically, I think this is a bad idea in most cases. Maybe some forum-specific tags (such as beta, wiki, devnet) could still be useful.

                          1 Reply Last reply
                          0
                          • B Offline
                            B Offline
                            baysmith
                            wrote on last edited by
                            #15

                            [quote author="Wolf P." date="1292093709"][quote author="Alexandra Leisse" date="1292004911"] What do you think about auto-tagging instead of auto-linking?[/quote] What is auto-tagging? If it means that some tags are added automatically, I think this is a bad idea in most cases. Maybe some forum-specific tags (such as beta, wiki, devnet) could still be useful.

                            [/quote]

                            If auto-tagging is like that, it won't provide quick access to the docs.

                            Nokia Certified Qt Specialist.

                            1 Reply Last reply
                            0
                            • G Offline
                              G Offline
                              GordonSchumacher
                              wrote on last edited by
                              #16

                              Auto-tagging could be useful, but 1) I agree with Bradley that it's quite a different question from auto-linking, and 2) I would be a little surprised if it could be done very well, until we have a script which can parse English well. Hmm...

                              Actually, I take that back. If the tagging system were set up to feed the posts through "CRM114":http://crm114.sourceforge.net, I bet it actually could do a decent job of auto-tagging!

                              1 Reply Last reply
                              0
                              • G Offline
                                G Offline
                                goetz
                                wrote on last edited by
                                #17

                                I totally agree with bradley. Auto-linking of the Qt classes would be very handy. Without the [doc.qt.nokia.com] it's also easily readable.

                                I also support the other suggestion, that all links within the .nokia.com domain need no further hint.

                                Auto tagging would be a bit overdone, IMHO. That would add a qapplication and/or qstring tag to almost every post with some example code.

                                http://www.catb.org/~esr/faqs/smart-questions.html

                                1 Reply Last reply
                                0
                                • W Offline
                                  W Offline
                                  Wolf P.
                                  wrote on last edited by
                                  #18
                                  • If you google the devnet, auto-tags will not make the results better. Individual tags could.
                                  1 Reply Last reply
                                  0

                                  • Login

                                  • Login or register to search.
                                  • First post
                                    Last post
                                  0
                                  • Categories
                                  • Recent
                                  • Tags
                                  • Popular
                                  • Users
                                  • Groups
                                  • Search
                                  • Get Qt Extensions
                                  • Unsolved