Giter Club home page Giter Club logo

docs-and-blog-enty-manager's Introduction

docs-and-blog-enty-manager's People

Contributors

symthy avatar

Watchers

 avatar

docs-and-blog-enty-manager's Issues

記事間でリンクを張れるようにする

要望概要 (Overview)

記事に書く別記事へのリンクは、

  • ローカルの記事は、その記事へのファイルパス
  • ブログには、ブログの記事へのリンク(URL) をなるようにする

目的/実現したいこと (Purpose)

記事間でリンクを張れるようにする

提案詳細/解決策 (Proposal Detail)

リンク置換処理を実装

ブログ未投稿でローカルのみにある別記事へのリンクを記載したものをブログ投稿した場合は

(ブログにはない記事のため)そのリンクは削除して投稿する。ローカルに保存する方にはリンクを残す

※ブログ未投稿だった記事をブログ投稿した際には、リンク張っていた側に消したリンクを付け直さないと救えない… 要検討

追記事項 (Additional context)

時期は未定

追加済みcategoryをグループ定義で変えるとretrieve失敗

発生現象 (Bug Description)

既に登録済みの記事に使用している、かつグループ定義にない category を グループ定義に追加し、retrieve すると、ダンプデータの更新に失敗する

Traceback (most recent call last):
  File "D:\dev_Git\blog-index\tools\src\main.py", line 159, in <module>
    main(sys.argv, IS_DEBUG)
  File "D:\dev_Git\blog-index\tools\src\main.py", line 82, in main
    retrieve_document_from_docs(dump_doc_data_accessor, category_group_def, args[2:])
  File "D:\dev_Git\blog-index\tools\src\service\local\doc_entry_retriever.py", line 29, in retrieve_document_from_docs
    group_to_categorized_entries.remove_entry(category_group_def, target_doc_entry)
  File "D:\dev_Git\blog-index\tools\src\domain\group_to_categories.py", line 179, in remove_entry
    categorized_entries.remove_entry(entry.top_category, entry.id)
  File "D:\dev_Git\blog-index\tools\src\domain\group_to_categories.py", line 57, in remove_entry
    self.__entries_of_non_category.pop(entry_id)

フォルダの移動/backup までは成功する

再現手順 (To Reproduce)

  1. グループ定義に存在しないcategoryの記事をpush
  2. そのcategoryをグループ定義に追加(Others以外の所に)
  3. 1の記事に対して retrieve 実行

発生環境 (Occurrence environment)

原因 (Cause)

更新後のグループ定義基準でダンプデータから当該記事を取得しようとするため

期待する動作 (Expected behavior)

追記事項 (Additional context)

運用でカバーできるため、優先度低

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.