netlist: Fix inclusion of examples in documentation. (nw)

This commit is contained in:
couriersud 2020-05-01 10:49:28 +02:00
parent 0120d1d8ff
commit e30ab9be9a
3 changed files with 14 additions and 4 deletions

View File

@ -771,7 +771,7 @@ WARN_LOGFILE =
# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
# Note: If this tag is empty the current directory is searched.
INPUT = .. ../analog ../documentation ../devices ../macro
INPUT = .. ../analog ../documentation ../devices ../macro
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
@ -844,7 +844,7 @@ EXCLUDE_SYMBOLS =
# that contain example code fragments that are included (see the \include
# command).
EXAMPLE_PATH = ../../../../nl_examples ../documentation
EXAMPLE_PATH = ../documentation ../examples
# If the value of the EXAMPLE_PATH tag contains directories, you can use the
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and
@ -2019,7 +2019,7 @@ SEARCH_INCLUDES = YES
# preprocessor.
# This tag requires that the tag SEARCH_INCLUDES is set to YES.
INCLUDE_PATH = .. ../..
INCLUDE_PATH = .. ../..
# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
# patterns (like *.h and *.hpp) to filter out the header-files in the

View File

@ -1,3 +1,12 @@
// license:GPL-2.0+
// copyright-holders:Couriersud
/*
* ne566.cpp
*
*/
//! [ne566_example]
#include "netlist/devices/net_lib.h"
@ -19,3 +28,4 @@ NETLIST_START(oscillator)
NET_C(GND, X.1, C1.2)
NET_C(C1.1, X.7)
NETLIST_END()
//! [ne566_example]

View File

@ -77,10 +77,10 @@ NETLIST_END()
//- This implementation is focused on performance. There may be edge cases
//- which lead to issues and ringing.
//.
//- Example: ne566.cpp,ne566_example
//- FunctionTable:
//- https://www.egr.msu.edu/eceshop/Parts_Inventory/datasheets/lm566.pdf
//-
//- Example: ne566.cpp,ne566_example
//.
static NETLIST_START(NE566_DIP)