Skip to content

Commit 8d04044

Browse files
ibsolnborrrden
andauthored
DOC-8132-C6 -- Move C code_snippets module in to clang (#512)
* Preliminary work on C language documentation snippets * 1. Move the code module from JB's initial commit into modules/clang/ examples/code_snippets; this also removes the preexisting debris from examples/ 2. Add the include:: for the getting-started code into the verify/build page https://issues.couchbase.com/browse/DOC-8132 Co-authored-by: Jim Borden <[email protected]>
1 parent be1f391 commit 8d04044

File tree

20 files changed

+508
-3348
lines changed

20 files changed

+508
-3348
lines changed

modules/ROOT/pages/_partials/_attributes-local.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ endif::[]
299299
:snippets-pfx: example$code_snippets/
300300
:snippets-content--android-kotlin: {lang-mod-android}:{snippets-pfx--android-kt}Examples.kt
301301
:snippets-content--android-java: {lang-mod-android}:{snippets-pfx--android-java}Examples.java
302-
:snippets-content--clang: {lang-mod-clang}:{snippets-pfx}SampleCodeTest.cc
302+
:snippets-content--clang: {lang-mod-clang}:{snippets-pfx}main.c
303303
:snippets-content--csharp: {lang-mod-csharp}:{snippets-pfx}Program.cs
304304
:snippets-content--java: {lang-mod-java}:{snippets-pfx}Examples.java
305305
:snippets-content--objc: {lang-mod-objc}:{snippets-pfx}SampleCodeTest.m

modules/clang/examples/.gitignore

Lines changed: 0 additions & 39 deletions
This file was deleted.

modules/clang/examples/README.adoc

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)