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?= Date: Wed, 23 Dec 2020 14:51:41 +0900 Subject: [PATCH] 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 05f1f275ef..883384a0b3 100644 --- a/include/ruby/backward/cxxanyargs.hpp +++ b/include/ruby/backward/cxxanyargs.hpp @@ -1,7 +1,7 @@ #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 905aa55fd4..79556ed7b1 100644 --- a/template/Doxyfile.tmpl +++ b/template/Doxyfile.tmpl @@ -277,6 +277,7 @@ TAB_SIZE = 8 # 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