Skip to contentSkip to conversation

Update documentation URL

PATCH In review Michael Opdenacker 3 participants 6 messages Mar 19, 2021 – Mar 31, 2021

lore
Share & tools
lore
#0 lore raw

cover Update documentation URL

This patch looks trivial, but the change to documentation/brief-yoctoprojectqs/index.rst
anticipates that my patches, to change the welcome message when you don't have any conf/local.conf file yet, have been accepted.

You may prefer to wait for such patches to be merged before merging this one, just to make sure
that the documentation is consistent with the command output.

#1 lore raw

PATCH 1/1 Update documentation URL

---
 README                                       | 2 +-
 documentation/brief-yoctoprojectqs/index.rst | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
README +1 -1
index bab81057f..b3836baba 100644
@@ -5,7 +5,7 @@ This repository contains documentation materials for a variety of the Yocto
 Project components. In particular see the README under documentation/.
 
 An online version of the documentation can be found at:
-    http://yoctoproject.org/documentation
+    https://docs.yoctoproject.org
 
 Where to Send Patches
 =====================
documentation/brief-yoctoprojectqs/index.rst +1 -1
index 63083cb13..11d8766ab 100644
@@ -189,7 +189,7 @@ an entire Linux distribution, including the toolchain, from source.
 
       The Yocto Project has extensive documentation about OE including a reference
       manual which can be found at:
-          http://yoctoproject.org/documentation
+          https://docs.yoctoproject.org
 
       For more information about OpenEmbedded see their website:
           http://www.openembedded.org/
Signature · 1 line
2.25.1
#2 lore raw

Hi Michael,

Quoted 24 lines · Michael Opdenacker

---
README | 2 +-
documentation/brief-yoctoprojectqs/index.rst | 2 +-

2 files changed, 2 insertions(+), 2 deletions(-)
README +0 -0
index bab81057f..b3836baba 100644
@@ -5,7 +5,7 @@ This repository contains documentation materials for a variety of the Yocto

Project components. In particular see the README under documentation/.

An online version of the documentation can be found at:

README +1 -1
-    http://yoctoproject.org/documentation
+    https://docs.yoctoproject.org

Where to Send Patches
=====================

documentation/brief-yoctoprojectqs/index.rst +0 -0
index 63083cb13..11d8766ab 100644

documentation/brief-yoctoprojectqs/index.rst an entire Linux distribution, including the toolchain, from source. · line 193

Quoted 6 lines
documentation/brief-yoctoprojectqs/index.rst +1 -1
@@ -189,7 +189,7 @@ an entire Linux distribution, including the toolchain, from source.
 
      The Yocto Project has extensive documentation about OE including a reference
      manual which can be found at:
-          http://yoctoproject.org/documentation
+          https://docs.yoctoproject.org
 

Please use :yocto_docs: extlink here. IIRC, :yocto_docs:/ should do just fine.

You can find the list of our extlinks in documentation/conf.py. They can be used in rST files (so your change in README is fine).

documentation/brief-yoctoprojectqs/index.rst an entire Linux distribution, including the toolchain, from source. · line 195

Quoted 2 lines
documentation/brief-yoctoprojectqs/index.rst +0 -0
      For more information about OpenEmbedded see their website:
          http://www.openembedded.org

And a free patch here with :oe_home:/ :)

Thanks for the patch!
Quentin

#3 lore raw

Hi Quentin,

Nice to hear from you again, and thanks for your help!

Quoted 1 line

Please use :yocto_docs: extlink here. IIRC, :yocto_docs:/ should do just fine.

Oops, actually, this doesn't work here, as we are in a "code-block". The patch didn't give you enough context for you to see this.

Quoted 2 lines

You can find the list of our extlinks in documentation/conf.py. They can be used in rST files (so your change in README is fine).

This is very good to know, thanks!

Apparently, these shortcuts don't work in the toplevel index.rst file though... That was tempting to use them there too. Anyway, I'll use them in normal documentation.

Quoted 4 lines
Quoted 3 lines

For more information about OpenEmbedded see their website:
http://www.openembedded.org

And a free patch here with :oe_home:/ :)

Same here, unfortunately.

So, I believe my patch can be taken as is...

Cheers,

Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Reviewed-by
#4 lore raw

Hi Michael,

Quoted 4 lines · Michael Opdenacker

Hi Quentin,

Nice to hear from you again, and thanks for your help!

Nice to see you contribute to the project :) Here's to many more patches.

Quoted 6 lines
Quoted 1 line

Please use :yocto_docs: extlink here. IIRC, :yocto_docs:/ should do just fine.

Oops, actually, this doesn't work here, as we are in a "code-block". The patch didn't give you enough context for you to see this.

Ah the eternal struggle with literal blocks. We should check if those the same links appear often in literal blocks and then maybe have an entry in poky.yaml for those for easier maintenance.

Later work anyway :)

Quoted 10 lines
Quoted 2 lines

You can find the list of our extlinks in documentation/conf.py. They can be used in rST files (so your change in README is fine).

This is very good to know, thanks!

Apparently, these shortcuts don't work in the toplevel index.rst file though... That was tempting to use them there too. Anyway, I'll use them in normal documentation.

Indeed, probably related to the use of .. toc-tree directive. The goal in the end is to have as few places as possible where manual maintenance and monitoring is required. index.html is anyway so critical that I doubt it'll stay broken for long if it ever happens to be broken :)

Quoted 11 lines
Quoted 5 lines
Quoted 4 lines

For more information about OpenEmbedded see their website:
http://www.openembedded.org

And a free patch here with :oe_home:/ :)

Same here, unfortunately.

So, I believe my patch can be taken as is...

Works for me.

Cheers,
Quentin

#5 lore raw

Hi Quentin,

Quoted 3 lines · Quentin Schulz

Ah the eternal struggle with literal blocks. We should check if those the same links appear often in literal blocks and then maybe have an entry in poky.yaml for those for easier maintenance.

Thanks for the suggestion. I added that to my todo list.

Thanks to your review, the patch is now in master-next:
http://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/commit/?h=master-next&id=87315f3fa6664f6ac588935b4ac67bacbee0de13

Cheers,

Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com