mirror of https://github.com/CGAL/cgal
Merge pull request #3798 from sloriot/CGAL-doc_release_from_Ic
Fix for the doc of a release built from an Ic
This commit is contained in:
commit
1f5f1a6ff3
|
|
@ -256,7 +256,7 @@ if (NOT CGAL_CREATED_VERSION_NUM)
|
|||
#read version.h and get the line with CGAL_VERSION
|
||||
file(STRINGS "${CGAL_ROOT}/include/CGAL/version.h" CGAL_VERSION_LINE REGEX "CGAL_VERSION ")
|
||||
#extract release id
|
||||
string(REGEX MATCH "[0-9]+\\.[0-9]+\\.?[0-9]*(-Ic-)?[0-9]*" CGAL_CREATED_VERSION_NUM "${CGAL_VERSION_LINE}")
|
||||
string(REGEX MATCH "[0-9]+\\.[0-9]+\\.?[0-9]*" CGAL_CREATED_VERSION_NUM "${CGAL_VERSION_LINE}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ The %CGAL Project.
|
|||
<em>%CGAL User and Reference Manual</em>.
|
||||
%CGAL Editorial Board, ${CGAL_CREATED_VERSION_NUM} edition, ${CGAL_BUILD_YEAR4}.
|
||||
[ <a href="how_to_cite.html#cgal:eb-${CGAL_RELEASE_YEAR_ID}">bib</a> |
|
||||
<a href="https://doc.cgal.org/${CGAL_CREATED_VERSION_NUM}/Manual/packages.html">http</a> ]
|
||||
<a href="packages.html">http</a> ]
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -118,7 +118,7 @@ def gen_txt_entry(title, authors, bib, anchor,k):
|
|||
In <em>%CGAL User and Reference Manual</em>. %CGAL Editorial Board,\n\
|
||||
${CGAL_CREATED_VERSION_NUM} edition, ${CGAL_BUILD_YEAR4}.\n\
|
||||
[ <a href=\"how_to_cite.html#"+bib+"-${CGAL_RELEASE_YEAR_ID}\">bib</a> | \n\
|
||||
<a href=\"https://doc.cgal.org/${CGAL_CREATED_VERSION_NUM}/Manual/packages.html#"+anchor+"\">http</a> ]\n\
|
||||
<a href=\"packages.html#"+anchor+"\">http</a> ]\n\
|
||||
\n\
|
||||
</td>\n\
|
||||
</tr>\n\n\n"
|
||||
|
|
|
|||
Loading…
Reference in New Issue