Skip to contentSkip to conversation

docs: rust: update Rust docs output path

PATCH Applied Miguel Ojeda 6 participants 11 messages Oct 18, 2023 – Oct 23, 2023

Subsystems (3)
lore
Share & tools
lore

Miguel Ojeda

author maintainer
#0 lore raw

PATCH 1/2 docs: rust: update Rust docs output path

The Rust code documentation output path moved from rust/doc to Documentation/output/rust/rustdoc, thus update the old reference.

Fixes 48fadf440075 ("docs: Move rustdoc output, cross-reference it")
---
 Documentation/rust/general-information.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/rust/general-information.rst +1 -1
index 49029ee82e55..081397827a7e 100644
@@ -29,7 +29,7 @@ target with the same invocation used for compilation, e.g.::
 
 To read the docs locally in your web browser, run e.g.::
 
-	xdg-open rust/doc/kernel/index.html
+	xdg-open Documentation/output/rust/rustdoc/kernel/index.html
 
 To learn about how to write the documentation, please see coding-guidelines.rst.
 

base-commit: 8a749fd1a8720d4619c91c8b6e7528c0a355c0aa

Signature · 1 line
2.42.0
author maintainer
#1 lore raw

PATCH 2/2 kbuild: remove old Rust docs output path

The Rust code documentation output path moved from rust/doc to Documentation/output/rust/rustdoc. The make cleandocs target takes care of cleaning it now since it is integrated with the rest of the documentation.

Thus remove the old reference.

Fixes 48fadf440075 ("docs: Move rustdoc output, cross-reference it")
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index 373649c7374e..040018111f32 100644
@@ -1474,7 +1474,7 @@ endif # CONFIG_MODULES
 # Directories & files removed with 'make clean'
 CLEAN_FILES += vmlinux.symvers modules-only.symvers \
 	       modules.builtin modules.builtin.modinfo modules.nsdeps \
-	       compile_commands.json .thinlto-cache rust/test rust/doc \
+	       compile_commands.json .thinlto-cache rust/test \
 	       rust-project.json .vmlinux.objs .vmlinux.export.c
 
 # Directories & files removed with 'make mrproper'
Signature · 1 line
2.42.0
Reviewed-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] kbuild: remove old Rust docs output path

In reply to Miguel Ojeda
Quoted 9 lines · Miguel Ojeda

The Rust code documentation output path moved from rust/doc to Documentation/output/rust/rustdoc. The make cleandocs target takes care of cleaning it now since it is integrated with the rest of the documentation.

Thus remove the old reference.

Fixes 48fadf440075 ("docs: Move rustdoc output, cross-reference it")
Signature · 2 lines
Cheers,
Benno
Reviewed-by on v1 2/2
#3 lore raw

Re: [PATCH 2/2] kbuild: remove old Rust docs output path

In reply to Miguel Ojeda
Quoted 9 lines · Miguel Ojeda

The Rust code documentation output path moved from rust/doc to Documentation/output/rust/rustdoc. The make cleandocs target takes care of cleaning it now since it is integrated with the rest of the documentation.

Thus remove the old reference.

Fixes 48fadf440075 ("docs: Move rustdoc output, cross-reference it")
Applied
#8 lore raw
In reply to Miguel Ojeda
Quoted 6 lines · Miguel Ojeda

The Rust code documentation output path moved from rust/doc to Documentation/output/rust/rustdoc, thus update the old reference.

Fixes 48fadf440075 ("docs: Move rustdoc output, cross-reference it")

Applied to rust-fixes early to start getting some time in linux-next -- please feel free to send more reviews, thanks!

Cheers,
Miguel

Reviewed-by on v1 1/2
#9 lore raw
In reply to Miguel Ojeda
Quoted 5 lines · Miguel Ojeda

The Rust code documentation output path moved from rust/doc to Documentation/output/rust/rustdoc, thus update the old reference.

Fixes 48fadf440075 ("docs: Move rustdoc output, cross-reference it")
Quoted 19 lines
---
 Documentation/rust/general-information.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/rust/general-information.rst +1 -1
index 49029ee82e55..081397827a7e 100644
@@ -29,7 +29,7 @@ target with the same invocation used for compilation, e.g.::
 
 To read the docs locally in your web browser, run e.g.::
 
-	xdg-open rust/doc/kernel/index.html
+	xdg-open Documentation/output/rust/rustdoc/kernel/index.html
 
 To learn about how to write the documentation, please see coding-guidelines.rst.
 

base-commit: 8a749fd1a8720d4619c91c8b6e7528c0a355c0aa

Reviewed-by on v1 2/2
#4 lore raw

Re: [PATCH 2/2] kbuild: remove old Rust docs output path

In reply to Miguel Ojeda
Quoted 10 lines · Miguel Ojeda

The Rust code documentation output path moved from rust/doc to Documentation/output/rust/rustdoc. The make cleandocs target takes care of cleaning it now since it is integrated with the rest of the documentation.

Thus remove the old reference.

Fixes 48fadf440075 ("docs: Move rustdoc output, cross-reference it")

---

Quoted 16 lines
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
index 373649c7374e..040018111f32 100644
@@ -1474,7 +1474,7 @@ endif # CONFIG_MODULES
 # Directories & files removed with 'make clean'
 CLEAN_FILES += vmlinux.symvers modules-only.symvers \
 	       modules.builtin modules.builtin.modinfo modules.nsdeps \
-	       compile_commands.json .thinlto-cache rust/test rust/doc \
+	       compile_commands.json .thinlto-cache rust/test \
 	       rust-project.json .vmlinux.objs .vmlinux.export.c
 
 # Directories & files removed with 'make mrproper'
Reviewed-by on v1 2/2
#5 lore raw

Re: [PATCH 2/2] kbuild: remove old Rust docs output path

In reply to Miguel Ojeda
Quoted 18 lines · Miguel Ojeda

The Rust code documentation output path moved from rust/doc to Documentation/output/rust/rustdoc. The make cleandocs target takes care of cleaning it now since it is integrated with the rest of the documentation.

Thus remove the old reference.

Fixes 48fadf440075 ("docs: Move rustdoc output, cross-reference it")
---
  Makefile | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +0 -0
index 373649c7374e..040018111f32 100644

Makefile endif # CONFIG_MODULES · line 1480

Quoted 8 lines
Makefile +1 -1
@@ -1474,7 +1474,7 @@ endif # CONFIG_MODULES
  # Directories & files removed with 'make clean'
  CLEAN_FILES += vmlinux.symvers modules-only.symvers \
  	       modules.builtin modules.builtin.modinfo modules.nsdeps \
-	       compile_commands.json .thinlto-cache rust/test rust/doc \
+	       compile_commands.json .thinlto-cache rust/test \
  	       rust-project.json .vmlinux.objs .vmlinux.export.c
 
  # Directories & files removed with 'make mrproper'
Reviewed-by on v1 1/2
#10 lore raw
In reply to Miguel Ojeda
Quoted 23 lines · Miguel Ojeda

The Rust code documentation output path moved from rust/doc to Documentation/output/rust/rustdoc, thus update the old reference.

Fixes 48fadf440075 ("docs: Move rustdoc output, cross-reference it")
---
  Documentation/rust/general-information.rst | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/rust/general-information.rst +1 -1
index 49029ee82e55..081397827a7e 100644
@@ -29,7 +29,7 @@ target with the same invocation used for compilation, e.g.::
 
  To read the docs locally in your web browser, run e.g.::
 
-	xdg-open rust/doc/kernel/index.html
+	xdg-open Documentation/output/rust/rustdoc/kernel/index.html
 
  To learn about how to write the documentation, please see coding-guidelines.rst.
 
Quoted 1 line

base-commit: 8a749fd1a8720d4619c91c8b6e7528c0a355c0aa

Good catch!