ruby-changes:67707
From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Fri, 10 Sep 2021 20:00:45 +0900 (JST)
Subject: [ruby-changes:67707] b6469c3aaf (master): template/Doxyfile.tmpl: add alias
https://git.ruby-lang.org/ruby.git/commit/?id=b6469c3aaf From b6469c3aaf5362ec7c953a90a7b6b2c1e0449a1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= <shyouhei@r...> Date: Wed, 23 Dec 2020 14:51:41 +0900 Subject: template/Doxyfile.tmpl: add alias This enables me to write `@shyouhei` in C comments without complained by doxygen that @shyouhei is an unknown special command. [ci skip] --- include/ruby/backward/cxxanyargs.hpp | 2 +- template/Doxyfile.tmpl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/ruby/backward/cxxanyargs.hpp b/include/ruby/backward/cxxanyargs.hpp index 05f1f27..883384a 100644 --- a/include/ruby/backward/cxxanyargs.hpp +++ b/include/ruby/backward/cxxanyargs.hpp @@ -1,7 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/include/ruby/backward/cxxanyargs.hpp#L1 #ifndef RUBY_BACKWARD_CXXANYARGS_HPP //-*-C++-*-vi:ft=cpp #define RUBY_BACKWARD_CXXANYARGS_HPP /// @file -/// @author \@shyouhei +/// @author @shyouhei /// @copyright This file is a part of the programming language Ruby. /// Permission is hereby granted, to either redistribute and/or /// modify this file, provided that the conditions mentioned in the diff --git a/template/Doxyfile.tmpl b/template/Doxyfile.tmpl index 905aa55..79556ed 100644 --- a/template/Doxyfile.tmpl +++ b/template/Doxyfile.tmpl @@ -277,6 +277,7 @@ TAB_SIZE = 8 https://github.com/ruby/ruby/blob/trunk/template/Doxyfile.tmpl#L277 # a double escape (\\{ and \\}) ALIASES = +ALIASES += "shyouhei=\@shyouhei" # Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources # only. Doxygen will then generate output that is more tailored for C. For -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/