Skip to content

Commit

Permalink
Unify code listings caption capitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
dobrac committed Apr 28, 2024
1 parent 7849bae commit eb10e90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions text/c_analysis.tex
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ \subsection{Code Generation}
Required classes and types are then generated, and the gRPC APIs can be called without extra coding work.
\cite{protobuf-proto3}

\begin{lstlisting}[language=bash, caption={Protocol Buffers Code Generation~\cite{protobuf-proto3}}, label={lst:protobuf-protoc}]
\begin{lstlisting}[language=bash, caption={Protocol Buffers code generation~\cite{protobuf-proto3}}, label={lst:protobuf-protoc}]
protoc --proto_path=IMPORT_PATH --java_out=DST_DIR path/to/file.proto
\end{lstlisting}

Expand Down Expand Up @@ -496,7 +496,7 @@ \subsubsection{gRPC-Gateway}
\cite{grpc-letmegrpc}


\begin{lstlisting}[language=protobuf2, style=protobuf, caption={gRPC-Gateway Annotations~\cite{grpc-gateway}}, label={lst:grpc-gateway-annotations}]
\begin{lstlisting}[language=protobuf2, style=protobuf, caption={gRPC-Gateway annotations~\cite{grpc-gateway}}, label={lst:grpc-gateway-annotations}]
import "google/api/annotations.proto";

rpc Echo(StringMessage) returns (StringMessage) {
Expand All @@ -507,7 +507,7 @@ \subsubsection{gRPC-Gateway}
}
\end{lstlisting}

\begin{lstlisting}[style=yaml, caption={gRPC-Gateway Configuration File~\cite{grpc-gateway}}, label={lst:grpc-gateway-configuration}]
\begin{lstlisting}[style=yaml, caption={gRPC-Gateway configuration file~\cite{grpc-gateway}}, label={lst:grpc-gateway-configuration}]
type: google.api.Service
config_version: 3

Expand Down

0 comments on commit eb10e90

Please sign in to comment.