]> git.puffer.fish Git - mirror/frr.git/commitdiff
doc: fix warnings in dev docs
authorMark Stapp <mjs@voltanet.io>
Tue, 16 Mar 2021 15:27:59 +0000 (11:27 -0400)
committerMark Stapp <mjs@voltanet.io>
Tue, 16 Mar 2021 15:27:59 +0000 (11:27 -0400)
Fix a couple of warnings in dev doc rst files.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
doc/developer/cross-compiling.rst
doc/developer/scripting.rst

index 339e00c9216def2db88812fc09b28f7ec2065fde..3bf78f7633fc98ef3b5a427154857174f1d397a1 100644 (file)
@@ -189,7 +189,7 @@ later on to FRR. One may get burned when compiling gRPC if the ``protoc``
 version on the build machine differs from the version of ``protoc`` being linked
 to during a gRPC build. The error messages from this defect look like:
 
-.. code-block:: terminal
+.. code-block:: shell
 
    gens/src/proto/grpc/channelz/channelz.pb.h: In member function ‘void grpc::channelz::v1::ServerRef::set_name(const char*, size_t)’:
    gens/src/proto/grpc/channelz/channelz.pb.h:9127:64: error: ‘EmptyDefault’ is not a member of ‘google::protobuf::internal::ArenaStringPtr’
index b0413619ab6300483064fa8c3d91be876242d3bc..708f65ff7d081e22d16e56640e6921922e83a205 100644 (file)
@@ -271,7 +271,7 @@ has). For example, here is the encoder function for ``struct prefix``:
 
 This function pushes a single value onto the Lua stack. It is a table whose equivalent in Lua is:
 
-.. code-block::
+.. code-block:: c
 
    { ["network"] = "1.2.3.4/24", ["prefixlen"] = 24, ["family"] = 2 }