Skip to content

Commit

Permalink
move indexsect code to isodoc: metanorma/bipm-si-brochure#242
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Dec 17, 2024
1 parent 9c9759c commit 072eeff
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 190 deletions.
1 change: 1 addition & 0 deletions Gemfile.devel
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gem "isodoc", git: "https://github.com/metanorma/isodoc", branch: "features/indexsect"
3 changes: 0 additions & 3 deletions lib/isodoc/iso/i18n-de.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ withdrawn: Zurückgezogen.
cancelled_and_replaced: Abgebrochen und ersetzt durch %.
table_of_contents: Inhalt
date: datum
index: Index
see: schau
see_also: siehe auch
secretariat: Sekretariat
edition: Ausgabe
termsrelated: Begriffe im Zusammenhang mit
Expand Down
3 changes: 0 additions & 3 deletions lib/isodoc/iso/i18n-en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ withdrawn: Withdrawn.
cancelled_and_replaced: Cancelled and replaced by %.
table_of_contents: Contents
date: Date
index: Index
see: see
see_also: see also
secretariat: Secretariat
edition: edition
edition_ordinal_old: "{{ var1 | ordinal_num: 'edition', '' }} EDITION"
Expand Down
3 changes: 0 additions & 3 deletions lib/isodoc/iso/i18n-fr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ under_preparation: En cours d'élaboration. (Stade au moment de la publication %
withdrawn: Retiré.
cancelled_and_replaced: Annulé et remplacé par %.
date: Date
index: Index
see: voir
see_also: voir aussi
secretariat: Secrétariat
edition: édition
edition_ordinal_old: "{{ var1 | ordinal_num: 'edition', '' }} ÉDITION"
Expand Down
3 changes: 0 additions & 3 deletions lib/isodoc/iso/i18n-ru.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ withdrawn: Отозван.
cancelled_and_replaced: Отменено и заменено на %.
table_of_contents: Содержание
date: Дата
index: Алфавитный указатель
see: см.
see_also: см. также
secretariat: Секретариат
scope: Область применения
edition: издание
Expand Down
3 changes: 0 additions & 3 deletions lib/isodoc/iso/i18n-zh-Hans.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ under_preparation: 制定中(出版时最新状态为%)
withdrawn: 撤回 .
cancelled_and_replaced: 已取消并由%取代。
date: 日期
index: 索引
see:
see_also: 另见
secretariat: 秘书处
edition:
termsrelated: 相关术语
Expand Down
173 changes: 0 additions & 173 deletions lib/isodoc/iso/index.rb

This file was deleted.

1 change: 0 additions & 1 deletion lib/isodoc/iso/presentation_terms.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
require_relative "init"
require "isodoc"
require_relative "index"
require_relative "presentation_xref"
require_relative "presentation_bibdata"
require_relative "../../relaton/render/general"
Expand Down
5 changes: 4 additions & 1 deletion lib/isodoc/iso/presentation_xml_convert.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
require_relative "init"
require "isodoc"
require_relative "index"
require_relative "presentation_xref"
require_relative "presentation_bibdata"
require_relative "presentation_terms"
Expand Down Expand Up @@ -298,6 +297,10 @@ def admonition_delim(elem)
end
end

def enable_indexsect
true
end

include Init
end
end
Expand Down

0 comments on commit 072eeff

Please sign in to comment.