-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Complete Migration of Legacy Docs to Open edX Docs (#589)
* Assimilate Legacy edX docs 1_general_information into Open edX docs * Assimilate Legacy edX docs 2_getting_started into Open edX docs * Assimilate Legacy edX docs 3_dashboard_profile into Open edX docs * Remove reference to tags * Assimilate Legacy edX docs 4_reaching_learners into Open edX docs * Assimilate Legacy edX docs 5_accessibility into Open edX docs * [WIP] Assimilate Legacy edx docs 6_setup_course into Open edX docs * Assimilate Legacy edX docs 20_glossary into Open edX docs * Assimilate Legacy edX docs 19_rerun_course into Open edX Docs * Assimilate Legacy edX docs 18_student_progress into Open edX Docs * Assimilate Legacy edX docs 18_student_progress into Open edX Docs pt. 2 * Assimilate Legacy edX docs 17_manage_discussions into Open edX Docs * Assimilate Legacy edX docs 16_manage_live_course and 15_releasing_course into Open edX docs * Assimilate Legacy edX docs 14_grading into Open edX Docs * Assimilate Legacy edX docs 13_proctored_exams into Open edX Docs * Assimilate Legacy edX docs 6_set_up_course into Open edX docs Assimilate Legacy edX docs 7_developing_courses into Open edX docs * Assimilate Legacy edX docs 6_set_up_course and 7_developing_course into Open edX docs * Assimilate Legacy edX docs 8_course_components into Open edX Docs (WIP) * Assimilate Legacy edX docs 8_course_components work in progress * Assimilate Legacy edX docs 8_course_components images work in progress * Assimilate Legacy edX docs 6_set_up_course and 7_developing_course into Open edX docs Part 2 * Assimilate legacy edx Docs 12_course_features into Open edX Docs * Assimilate legacy edx Docs 12_course_features into Open edX Docs WIP * Revert change to Makefile that was specific to debugging * Move remaining WIP Migration docs to an orphan page * Assimilate legacy edx Docs 8_course_components into Open edX Docs * Assimilate legacy edx Docs 9_creating_and_adding_video_content into Open edX Docs * Assimilate legacy edX Docs 12_course_features into Open EdX Docs * Assimilate legacy edX Docs 11_course_assets into Open EdX Docs * Assimilate legacy edX Docs 10_exercise_tools into Open EdX Docs WIP * Assimilate legacy edX Docs 10_exercise_tools into Open EdX Docs WIP * Remove unused images and fix remaining image references * Fix broken references * Consolidate links to one file and remove unused links * Revert --keep-going flag in Makefile (used for debugging) * Resolve additional conflicts --------- Co-authored-by: Shannon Rushe <[email protected]>
- Loading branch information
Showing
412 changed files
with
10,708 additions
and
12,461 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
import os | ||
import subprocess | ||
|
||
def grep_for_filenames(source_dir, search_dir): | ||
# Loop through each file in the source directory | ||
for root, dirs, files in os.walk(source_dir): | ||
for file_name in files: | ||
# Define the full path to the current file | ||
file_path = os.path.join(root, file_name) | ||
|
||
# Get the base file name (without path) to search for it | ||
base_file_name = os.path.basename(file_path) | ||
|
||
print(f"Searching for '{base_file_name}' in {search_dir}...") | ||
|
||
# Use subprocess to call grep recursively in the target directory | ||
result = subprocess.run( | ||
["grep", "-rl", base_file_name, search_dir], | ||
stdout=subprocess.PIPE, | ||
stderr=subprocess.PIPE, | ||
text=True | ||
) | ||
|
||
if result.stdout: | ||
print(f"Found occurrences of '{base_file_name}':\n{result.stdout}") | ||
else: | ||
print(f"No occurrences found for '{base_file_name}'") | ||
|
||
if result.stderr: | ||
print(f"Error: {result.stderr}") | ||
|
||
|
||
# Define the source directory (containing file names) and search directory | ||
source_dir = "source/educators/migration_wip/images" | ||
search_dir = "source/" | ||
|
||
# Call the function | ||
grep_for_filenames(source_dir, search_dir) | ||
|
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added
BIN
+43.8 KB
source/_images/educator_references/partial_credit_multiple_choice.png
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
Oops, something went wrong.
File renamed without changes
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.