Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 2 additions & 21 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: test docs
.PHONY: test

install:
poetry install --with dev --with test
Expand All @@ -11,7 +11,7 @@ clean:
rm -rf tmp

test:
PYTHONPATH=src poetry run pytest tests
poetry run pytest tests

format:
poetry run ruff check --fix
Expand All @@ -23,24 +23,5 @@ pre_commit:
serve:
poetry run uvicorn memos.api.start_api:app

docs:
pytest tests/test_docs.py -xq
pip install mkdocs mkdocs-material -q
mkdir -p tmp
rm -f tmp/mkdocs.yml
echo "site_name: MemOS Documentation" > tmp/mkdocs.yml
echo "docs_dir: `pwd`/docs" >> tmp/mkdocs.yml
echo "theme: material" >> tmp/mkdocs.yml
echo "markdown_extensions:" >> tmp/mkdocs.yml
echo " - pymdownx.highlight:" >> tmp/mkdocs.yml
echo " anchor_linenums: true" >> tmp/mkdocs.yml
echo " line_spans: __span" >> tmp/mkdocs.yml
echo " pygments_lang_class: true" >> tmp/mkdocs.yml
echo " - pymdownx.inlinehilite" >> tmp/mkdocs.yml
echo " - pymdownx.snippets" >> tmp/mkdocs.yml
echo " - pymdownx.superfences" >> tmp/mkdocs.yml
cat docs/settings.yml >> tmp/mkdocs.yml
mkdocs serve -f tmp/mkdocs.yml --no-livereload

openapi:
poetry run python scripts/export_openapi.py --output docs/openapi.json
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<a href="https://discord.gg/Txbx3gebZR">
<img src="https://img.shields.io/badge/Discord-join%20chat-7289DA.svg?logo=discord" alt="Discord">
</a>
<a href="docs/assets/memos-wechat-group.png">
<a href="docs/assets/qr_code.png">
<img src="https://img.shields.io/badge/WeChat-Group-07C160.svg?logo=wechat" alt="WeChat Group">
</a>
<a href="https://opensource.org/license/apache-2-0/">
Expand All @@ -43,7 +43,7 @@
---

<a href="https://memos.openmem.net/">
<img src="docs/assets/SOTA_Score.jpg" alt="SOTA SCORE">
<img src="docs/assets/sota_score.jpg" alt="SOTA SCORE">
</a>


Expand Down
3 changes: 3 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
All documentation has been moved to a separate repository: https://github.com/MemTensor/MemOS-Docs. Please edit documentation there.

所有文档已迁移至独立仓库:https://github.com/MemTensor/MemOS-Docs。请在该仓库中编辑文档。
Binary file removed docs/assets/memos-architecture.png
Binary file not shown.
Binary file removed docs/assets/memos-banner.png
Binary file not shown.
File renamed without changes
File renamed without changes
74 changes: 0 additions & 74 deletions docs/best_practice/common_errors_solutions.md

This file was deleted.

87 changes: 0 additions & 87 deletions docs/best_practice/memory_structure_design.md

This file was deleted.

108 changes: 0 additions & 108 deletions docs/best_practice/network_workarounds.md

This file was deleted.

53 changes: 0 additions & 53 deletions docs/best_practice/performance_tuning.md

This file was deleted.

Loading