Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
361642c0
Kaydet (Commit)
361642c0
authored
Nis 27, 2013
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
odk: generate IDL docs with doxygen
Change-Id: Ibf7ab46bdd08a42ecf475500d35f92b67d4d8036
üst
3d9c1b35
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
88 additions
and
0 deletions
+88
-0
CustomTarget_doxygen.mk
odk/CustomTarget_doxygen.mk
+32
-0
Doxyfile
odk/pack/gendocu/idl/Doxyfile
+45
-0
main.dox
odk/pack/gendocu/idl/main.dox
+11
-0
No files found.
odk/CustomTarget_doxygen.mk
Dosyayı görüntüle @
361642c0
...
...
@@ -54,4 +54,36 @@ $(call gb_CustomTarget_get_workdir,odk/docs)/cpp/doxygen.log : \
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),GEN,1)
$(DOXYGEN) $< > $@
$(eval $(call gb_CustomTarget_register_targets,odk/docs,\
idl/Doxyfile \
idl/doxygen.log \
))
odk_idl_PREFIX := $(SRCDIR)/udkapi/ $(SRCDIR)/offapi/
odk_idl_DOXY_INPUT := $(SRCDIR)/odk/pack/gendocu/idl/main.dox \
$(addsuffix com,$(odk_idl_PREFIX)) \
odk_idl_DOXY_WORKDIR := $(call gb_CustomTarget_get_workdir,odk/docs/idl)/ref
# don't depend on the IDL files directly but instead on the udkapi/offapi
# which will get rebuilt when any IDL file changes
$(call gb_CustomTarget_get_workdir,odk/docs)/idl/Doxyfile : \
$(SRCDIR)/odk/pack/gendocu/idl/Doxyfile \
$(call gb_UnoApi_get_target,udkapi) \
$(call gb_UnoApi_get_target,offapi) \
$(gb_Module_CURRENTMAKEFILE)
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),SED,1)
sed -e 's!^INPUT = %$$!INPUT = $(call odk_cygwin_path,$(odk_idl_DOXY_INPUT))!' \
-e 's!^OUTPUT_DIRECTORY = %$$!OUTPUT_DIRECTORY = $(call odk_cygwin_path,$(odk_idl_DOXY_WORKDIR))!' \
-e 's!^PROJECT_BRIEF = %$$!PROJECT_BRIEF = "$(PRODUCTNAME) $(PRODUCTVERSION) SDK API Reference"!' \
-e 's!^PROJECT_NAME = %$$!PROJECT_NAME = $(PRODUCTNAME)!' \
-e 's!^QUIET = %$$!QUIET = $(if $(VERBOSE),NO,YES)!' \
-e 's!^STRIP_FROM_PATH = %$$!STRIP_FROM_PATH = $(call odk_cygwin_path,$(odk_idl_PREFIX))!' \
$< > $@
$(call gb_CustomTarget_get_workdir,odk/docs)/idl/doxygen.log : \
$(call gb_CustomTarget_get_workdir,odk/docs)/idl/Doxyfile \
$(SRCDIR)/odk/pack/gendocu/idl/main.dox
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),GEN,1)
$(DOXYGEN) $< > $@
# vim: set noet sw=4 ts=4:
odk/pack/gendocu/idl/Doxyfile
0 → 100644
Dosyayı görüntüle @
361642c0
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
PROJECT_BRIEF = %
PROJECT_NAME = %
OUTPUT_DIRECTORY = %
STRIP_FROM_PATH = %
INPUT = %
RECURSIVE = YES
HTML_OUTPUT = .
GENERATE_LATEX = NO
QUIET = %
WARNINGS = YES
WARN_IF_DOC_ERROR = YES
WARN_FORMAT = "$file:$line: $text"
# for windows? actually should NOT need this - no case collision in files!
# note this changes filenames (uppercase letters translated to "_lowercase")
#CASE_SENSE_NAMES = NO
# this is bad because the directories have random names...
#CREATE_SUBDIRS = YES
# hmm... not sure if we want the source files in the output?
#SHOW_USED_FILES = NO
#SHOW_FILES = NO
# make it possible to auto-generate links to all compounds and members
PREDICTABLE_URLS = YES
# ideally everything should be documented, but...
EXTRACT_ALL = YES
# first line is "brief" doc
JAVADOC_AUTOBRIEF = YES
# we want detailed description for everything, starting with "brief" doc
REPEAT_BRIEF = YES
ALWAYS_DETAILED_SEC = YES
# by default members detail sections are prefixed with ns-qualified class
# name which looks like overkill/clutter
HIDE_SCOPE_NAMES = YES
odk/pack/gendocu/idl/main.dox
0 → 100644
Dosyayı görüntüle @
361642c0
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/// \mainpage
///
/// This is a reference documentation for the UNO IDL API.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment